From 546558eabd81cfc36a81a4df728fdfea0d83b41a Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Wed, 14 Mar 2018 16:54:17 +0100 Subject: Add the ndo_protocol field in the netdissect_options structure Update this field in printer entry functions. It will be used for some printings. --- print-frag6.c | 1 + 1 file changed, 1 insertion(+) (limited to 'print-frag6.c') diff --git a/print-frag6.c b/print-frag6.c index 634e7c9a..f545d2d5 100644 --- a/print-frag6.c +++ b/print-frag6.c @@ -38,6 +38,7 @@ frag6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2) const struct ip6_frag *dp; const struct ip6_hdr *ip6; + ndo->ndo_protocol = "frag6"; dp = (const struct ip6_frag *)bp; ip6 = (const struct ip6_hdr *)bp2; -- cgit v1.2.1