summaryrefslogtreecommitdiff
path: root/print-hncp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-06-10 14:14:46 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-06-10 14:14:46 +0200
commit6fc5b4200b5f1dfdca23bdcc4cca696e5e6df49d (patch)
treecea05fbd26ae4a5f20a7294b383c7c688cac81e7 /print-hncp.c
parent6b5d1df56e90de2abd1a1813922e39e195602c89 (diff)
downloadtcpdump-6fc5b4200b5f1dfdca23bdcc4cca696e5e6df49d.tar.gz
Use nd_ipv4 rather than struct in_addr
Diffstat (limited to 'print-hncp.c')
-rw-r--r--print-hncp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-hncp.c b/print-hncp.c
index 3a3c01ea..60a7ca9b 100644
--- a/print-hncp.c
+++ b/print-hncp.c
@@ -210,7 +210,7 @@ print_prefix(netdissect_options *ndo, const u_char *prefix, u_int max_length)
if (GET_U_1(prefix) >= 96 && max_length >= IPV4_MAPPED_HEADING_LEN + 1 &&
is_ipv4_mapped_address(prefix + 1)) {
- struct in_addr addr;
+ nd_ipv4 addr;
u_int plen;
plen = GET_U_1(prefix) - 96;