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-pim.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-pim.c')
-rw-r--r-- | print-pim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-pim.c b/print-pim.c index d30cf8f4..49c9f465 100644 --- a/print-pim.c +++ b/print-pim.c @@ -898,8 +898,8 @@ pimv2_print(netdissect_options *ndo, case 0: /* Null header */ ND_TCHECK_4(ip->ip_dst); ND_PRINT("IP-Null-header %s > %s", - ipaddr_string(ndo, &ip->ip_src), - ipaddr_string(ndo, &ip->ip_dst)); + ipaddr_string(ndo, ip->ip_src), + ipaddr_string(ndo, ip->ip_dst)); break; case 4: /* IPv4 */ |