diff options
Diffstat (limited to 'print-hncp.c')
-rw-r--r-- | print-hncp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-hncp.c b/print-hncp.c index 560f5b7d..1b5ed5d4 100644 --- a/print-hncp.c +++ b/print-hncp.c @@ -207,7 +207,7 @@ print_prefix(netdissect_options *ndo, const u_char *prefix, u_int max_length) char buf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx::/128")]; if (prefix[0] >= 96 && max_length >= IPV4_MAPPED_HEADING_LEN + 1 && - is_ipv4_mapped_address(&prefix[1])) { + is_ipv4_mapped_address(prefix + 1)) { struct in_addr addr; u_int plen; |