aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/snmp
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-08-24 00:33:35 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-08-24 00:33:35 +0000
commit2fdaae5dc2e10b21c23b7bb151ca4c1f364335cf (patch)
tree27d519e0e4a195eb3ec72629d99e764423b02606 /asn1/snmp
parente7d5e2fc2d8d34f991bc3aabe4ece027c126bff0 (diff)
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
Diffstat (limited to 'asn1/snmp')
-rw-r--r--asn1/snmp/packet-snmp-template.c2
1 files changed, 1 insertions, 1 deletions
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;