aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-08-28 15:18:32 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-08-28 15:18:32 +0000
commitdfbac007529fc7ce0f6405d1a0ba30560cadf0b8 (patch)
treea234af0150b064f34c3a6229e1754c32f6d1ddba /epan/uat.c
parent8fde3b7561ce61061c6d9ae8149c1ea916fdd7cb (diff)
SNMP:
- As noted by Thomas Anders values are not added to the tree anymore. Move the calling of subdissectors to the end of the function, so that the value is added to the tree. - add port 8161 to be decoded as SNMP (hey, it's on IANA's services file!) UAT: - do not have the uat reloaded. OIDS: - do not complain if renaming an OID to an identical name svn path=/trunk/; revision=22704
Diffstat (limited to 'epan/uat.c')
-rw-r--r--epan/uat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/uat.c b/epan/uat.c
index 44ec7a53c3..20a4230543 100644
--- a/epan/uat.c
+++ b/epan/uat.c
@@ -309,7 +309,8 @@ void uat_load_all(void) {
uat_t* u = g_ptr_array_index(all_uats,i);
err = NULL;
- uat_load(u, &err);
+ if (!u->loaded)
+ uat_load(u, &err);
if (err) {
report_failure("Error loading table '%s': %s",u->name,err);