From 2fdaae5dc2e10b21c23b7bb151ca4c1f364335cf Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Fri, 24 Aug 2007 00:33:35 +0000 Subject: Never, never, never modify a generated file... or out of idiocy you might loose changes (or not check them in). svn path=/trunk/; revision=22619 --- asn1/snmp/packet-snmp-template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asn1/snmp') diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index d0a0c4abc5..2c899e9457 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -534,7 +534,7 @@ extern int dissect_snmp_VarBind(gboolean implicit_tag _U_, guint key_len = oid_left; oid_info_is_ok = TRUE; - if (key_start = oid_matched+oid_left && ber_class == BER_CLASS_UNI && tag == BER_UNI_TAG_NULL) { + if ( key_len == 0 && ber_class == BER_CLASS_UNI && tag == BER_UNI_TAG_NULL) { /* unSpecified does not require an instance sub-id add the new value and get off the way! */ pi_value = proto_tree_add_item(pt_varbind,hf_snmp_unSpecified,tvb,value_offset,value_len,FALSE); goto set_label; -- cgit v1.2.3