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-juniper.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-juniper.c')
-rw-r--r-- | print-juniper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-juniper.c b/print-juniper.c index 1d12d6a3..d1f9a663 100644 --- a/print-juniper.c +++ b/print-juniper.c @@ -557,8 +557,8 @@ juniper_es_if_print(netdissect_options *ndo, tok2str(juniper_ipsec_type_values,"Unknown",EXTRACT_U_1(ih->type)), EXTRACT_U_1(ih->type), EXTRACT_BE_U_4(ih->spi), - ipaddr_string(ndo, &ih->src_ip), - ipaddr_string(ndo, &ih->dst_ip), + ipaddr_string(ndo, ih->src_ip), + ipaddr_string(ndo, ih->dst_ip), l2info.length); } else { ND_PRINT("ES SA, index %u, ttl %u type %s (%u), length %u\n", |