summaryrefslogtreecommitdiff
path: root/epan/emem.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/emem.c
parent8fde3b7561ce61061c6d9ae8149c1ea916fdd7cb (diff)
downloadwireshark-dfbac007529fc7ce0f6405d1a0ba30560cadf0b8.tar.gz
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/emem.c')
-rw-r--r--epan/emem.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/emem.c b/epan/emem.c
index 430ff4e1b6..38464b43ec 100644
--- a/epan/emem.c
+++ b/epan/emem.c
@@ -65,7 +65,6 @@
/* Do we want to use canaries ? */
#define DEBUG_USE_CANARIES 1
-
#ifdef WANT_GUARD_PAGES
/* Add guard pages at each end of our allocated memory */
#if defined(HAVE_SYSCONF) && defined(HAVE_MMAP) && defined(HAVE_MPROTECT) && defined(HAVE_STDINT_H)
@@ -125,8 +124,8 @@ typedef struct _emem_header_t {
emem_chunk_t *used_list;
} emem_header_t;
-static emem_header_t ep_packet_mem;
-static emem_header_t se_packet_mem;
+emem_header_t ep_packet_mem;
+emem_header_t se_packet_mem;
#if !defined(SE_DEBUG_FREE)
#if defined (_WIN32)