summaryrefslogtreecommitdiff
path: root/src/port/inet_net_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/inet_net_ntop.c')
-rw-r--r--src/port/inet_net_ntop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/inet_net_ntop.c b/src/port/inet_net_ntop.c
index cebcda0e615..f27fda96ca1 100644
--- a/src/port/inet_net_ntop.c
+++ b/src/port/inet_net_ntop.c
@@ -258,8 +258,8 @@ inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size)
*tp++ = ':';
/* Is this address an encapsulated IPv4? */
if (i == 6 && best.base == 0 && (best.len == 6 ||
- (best.len == 7 && words[7] != 0x0001) ||
- (best.len == 5 && words[5] == 0xffff)))
+ (best.len == 7 && words[7] != 0x0001) ||
+ (best.len == 5 && words[5] == 0xffff)))
{
int n;