diff options
author | Balint Reczey <balint.reczey@ericsson.com> | 2009-11-23 17:28:38 +0000 |
---|---|---|
committer | Balint Reczey <balint.reczey@ericsson.com> | 2009-11-23 17:28:38 +0000 |
commit | acbaa2848dc6a1362a1179146597b3b7d2068fbe (patch) | |
tree | 2fae851208010d9d8b1d542a6f3867a0427de03d /epan | |
parent | 2a6f8f21fc66985b89d58eefecc73f29d560bd94 (diff) | |
download | wireshark-acbaa2848dc6a1362a1179146597b3b7d2068fbe.tar.gz |
Add /usr/share/snmp/mibs to MIB search path on !Win32 platforms, not just on Apple.
svn path=/trunk/; revision=31052
Diffstat (limited to 'epan')
-rw-r--r-- | epan/oids.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/oids.c b/epan/oids.c index 3935f41df1..74c3b0c9b9 100644 --- a/epan/oids.c +++ b/epan/oids.c @@ -1078,12 +1078,10 @@ oid_get_default_mib_path(void) { #else #define PATH_SEPARATOR ":" path = smiGetPath(); -#ifdef __APPLE__ g_string_append(path_str, "/usr/share/snmp/mibs"); if (strlen(path) > 0 ) { g_string_append(path_str, PATH_SEPARATOR); } -#endif g_string_append_printf(path_str, "%s", path); free (path); #endif |