From 2cf938cfa89ff56a35812067f024045652c3041b Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Thu, 9 Jun 2022 17:47:35 +0200 Subject: tap: Adding flags for tap_packet This allows flags to be passed by the registering listener to the collection of information --- epan/dissectors/asn1/snmp/packet-snmp-template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/asn1/snmp') diff --git a/epan/dissectors/asn1/snmp/packet-snmp-template.c b/epan/dissectors/asn1/snmp/packet-snmp-template.c index 200f7eedbf..6e159e296a 100644 --- a/epan/dissectors/asn1/snmp/packet-snmp-template.c +++ b/epan/dissectors/asn1/snmp/packet-snmp-template.c @@ -441,7 +441,7 @@ snmpstat_init(struct register_srt* srt _U_, GArray* srt_array) /* This is called only if request and response was matched -> no need to return anything than TAP_PACKET_REDRAW */ static tap_packet_status -snmpstat_packet(void *psnmp, packet_info *pinfo, epan_dissect_t *edt _U_, const void *psi) +snmpstat_packet(void *psnmp, packet_info *pinfo, epan_dissect_t *edt _U_, const void *psi, tap_flags_t flags _U_) { guint i = 0; srt_stat_table *snmp_srt_table; -- cgit v1.2.3