aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/snmp
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2022-06-09 17:47:35 +0200
committerRoland Knall <rknall@gmail.com>2022-06-10 05:46:15 +0000
commit2cf938cfa89ff56a35812067f024045652c3041b (patch)
tree30d570c6ba6d963bb83fdbc7f6b3e92f8df305b1 /epan/dissectors/asn1/snmp
parent8b1d140c493b7dec3fd6fb1a750aa0da56a866f7 (diff)
tap: Adding flags for tap_packet
This allows flags to be passed by the registering listener to the collection of information
Diffstat (limited to 'epan/dissectors/asn1/snmp')
-rw-r--r--epan/dissectors/asn1/snmp/packet-snmp-template.c2
1 files changed, 1 insertions, 1 deletions
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;