aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-snmp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-28 08:01:54 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-28 08:01:54 +0000
commit322999c545e3bbcbcd6856c94c5da339144af5c8 (patch)
tree9ddcf91e097908aa40e7d0cb334dabb192ea169b /epan/dissectors/packet-snmp.c
parent3452023b8024a6ec0cb86dca57ad7636d2fedf02 (diff)
Note that we should redo the handling of OIDs when
"dissect_ber_object_identifier()" can return the OID in a binary form. svn path=/trunk/; revision=16036
Diffstat (limited to 'epan/dissectors/packet-snmp.c')
-rw-r--r--epan/dissectors/packet-snmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-snmp.c b/epan/dissectors/packet-snmp.c
index 91bd31e8cd..7218b2e650 100644
--- a/epan/dissectors/packet-snmp.c
+++ b/epan/dissectors/packet-snmp.c
@@ -1157,6 +1157,8 @@ snmp_variable_decode(proto_tree *snmp_tree, packet_info *pinfo,
break;
case SNMP_OBJECTID:
+ /* XXX Redo this using dissect_ber_object_identifier when
+ it returns tvb or some other binary form of an OID */
oid_buf = tvb_get_ptr(asn1->tvb, vb_value_start, vb_length);
vb_oid = g_malloc((vb_length+1) * sizeof(gulong));
vb_oid_length = oid_to_subid_buf(oid_buf, vb_length, vb_oid, ((vb_length+1) * sizeof(gulong)));