git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a6f8f2
)
Add /usr/share/snmp/mibs to MIB search path on !Win32 platforms, not just on Apple.
author
Balint Reczey
<balint.reczey@ericsson.com>
Mon, 23 Nov 2009 17:28:38 +0000
(17:28 -0000)
committer
Balint Reczey
<balint.reczey@ericsson.com>
Mon, 23 Nov 2009 17:28:38 +0000
(17:28 -0000)
svn path=/trunk/; revision=31052
epan/oids.c
patch
|
blob
|
history
diff --git
a/epan/oids.c
b/epan/oids.c
index 3935f41df1fa9ed160c05f66a9e4e5e0b000e456..74c3b0c9b9e47e6838552c008b285323b7c4ff48 100644
(file)
--- 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