From 4877553530fc356888edb95332b24eaeaadeee80 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Mon, 26 Nov 2001 05:13:14 +0000 Subject: 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 --- packet-snmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-snmp.c') 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 @@ -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"; -- cgit v1.2.3