diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-31 00:43:45 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-31 00:43:45 -0800 |
commit | 0dad1934af3db3f97d4371463089c8725dbfa26d (patch) | |
tree | eaedbdb157d6aae6e44ade1830a6144b08a1eaaf /print-ip6.c | |
parent | 44c822e9f671b7a9b2e52b781cdbf38933cbdeaf (diff) | |
download | tcpdump-0dad1934af3db3f97d4371463089c8725dbfa26d.tar.gz |
Have ip{6}addr_string take a u_char * as the second argument.
Fix warnings that introduces.
Diffstat (limited to 'print-ip6.c')
-rw-r--r-- | print-ip6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-ip6.c b/print-ip6.c index 53815402..8c0f192a 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -288,8 +288,8 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) if (cp == (const u_char *)(ip6 + 1) && nh != IPPROTO_TCP && nh != IPPROTO_UDP && nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { - ND_PRINT("%s > %s: ", ip6addr_string(ndo, &ip6->ip6_src), - ip6addr_string(ndo, &ip6->ip6_dst)); + ND_PRINT("%s > %s: ", ip6addr_string(ndo, ip6->ip6_src), + ip6addr_string(ndo, ip6->ip6_dst)); } switch (nh) { |