diff options
author | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-26 05:13:14 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-26 05:13:14 +0000 |
commit | 4877553530fc356888edb95332b24eaeaadeee80 (patch) | |
tree | dece920ad31185cc514f42c162bd238ed5edcd14 /packet-snmp.c | |
parent | fcd5b352af60e034a4b63601272b43b6644029cd (diff) |
Switched from using CHECK_DISPLAY_AS_DATA to using CHECK_DISPLAY_AS_X
which also takes a handle as an argument and thus doesn't call
dissect_data directly.
svn path=/trunk/; revision=4270
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index 5f59ca3b27..0e4a05553d 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -8,7 +8,7 @@ * * See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u. * - * $Id: packet-snmp.c,v 1.72 2001/11/26 04:52:51 hagbard Exp $ + * $Id: packet-snmp.c,v 1.73 2001/11/26 05:13:12 hagbard Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2105,7 +2105,7 @@ dissect_snmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * call a conversation dissector doesn't check for disabled * protocols or set "pinfo->current_proto". */ - CHECK_DISPLAY_AS_DATA(proto_snmp, tvb, pinfo, tree); + CHECK_DISPLAY_AS_X(data_handle,proto_snmp, tvb, pinfo, tree); pinfo->current_proto = "SNMP"; |