aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2006-11-02 08:48:58 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2006-11-02 08:48:58 +0000
commitd89ef8753403e9cf8b3f1e552764ec9a5cd1efc1 (patch)
tree092836107a989b4b3eae94275b53bf388aa8d77b /epan/ftypes
parent21671dbedf47194d6677e4030b9d8f4d1915cf37 (diff)
Bug 1053: New SNMP filtering is broken
Do not try to parse OID as hexbytes string svn path=/trunk/; revision=19772
Diffstat (limited to 'epan/ftypes')
-rw-r--r--epan/ftypes/ftype-bytes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/ftypes/ftype-bytes.c b/epan/ftypes/ftype-bytes.c
index 9e390c3ce4..095eb67672 100644
--- a/epan/ftypes/ftype-bytes.c
+++ b/epan/ftypes/ftype-bytes.c
@@ -270,9 +270,11 @@ oid_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _U_, LogFu
* up as an OID if it does, and if that fails,
* we'll log a message.
*/
+ /* do not try it as '.' is handled as valid separator for hexbytes :(
if (bytes_from_unparsed(fv, s, TRUE, NULL)) {
return TRUE;
}
+ */
bytes = g_byte_array_new();
res = oid_str_to_bytes(s, bytes);