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-snmp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'print-snmp.c') diff --git a/print-snmp.c b/print-snmp.c index 3153076d..856309b6 100644 --- a/print-snmp.c +++ b/print-snmp.c @@ -1884,6 +1884,7 @@ snmp_print(netdissect_options *ndo, int count = 0; int version = 0; + ndo->ndo_protocol = "snmp"; ND_PRINT(" "); /* initial Sequence */ -- cgit v1.2.1