diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-03-08 13:48:42 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-03-08 14:07:37 +0100 |
commit | 6a66f110963d96a92de4f4d2e757ef2893c3c3ee (patch) | |
tree | 76a3eadfbd31a26b5471c4d2656bccd79105eeb7 /print-ip6.c | |
parent | 8c88f9f54a37bd257471d72d78fc7e211113495d (diff) | |
download | tcpdump-6a66f110963d96a92de4f4d2e757ef2893c3c3ee.tar.gz |
IPv4/IPv6 demux: Rename a printer
Rename ip_print_demux() to ip_demux_print(), with _print suffix like
in most similar cases.
Moreover:
Rename a test.
Diffstat (limited to 'print-ip6.c')
-rw-r--r-- | print-ip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ip6.c b/print-ip6.c index fd28cb23..6fef7ba9 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -468,7 +468,7 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) len -= total_advance; } } - ip_print_demux(ndo, cp, len, 6, fragmented, + ip_demux_print(ndo, cp, len, 6, fragmented, GET_U_1(ip6->ip6_hlim), nh, bp); nd_pop_packet_info(ndo); return; |