mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
console: hide ::ffff: prefix from IPv6-mapped IPv4 addresses
This commit is contained in:
@@ -16,7 +16,7 @@ func TestQueryColumnSQLSelect(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
Input: queryColumnSrcAddr,
|
||||
Expected: `IPv6NumToString(SrcAddr)`,
|
||||
Expected: `replaceRegexpOne(IPv6NumToString(SrcAddr), '^::ffff:', '')`,
|
||||
}, {
|
||||
Input: queryColumnDstAS,
|
||||
Expected: `concat(toString(DstAS), ': ', dictGetOrDefault('asns', 'name', DstAS, '???'))`,
|
||||
|
||||
Reference in New Issue
Block a user