Add /usr/share/snmp/mibs to MIB search path on !Win32 platforms, not just on Apple.
authorBalint Reczey <balint.reczey@ericsson.com>
Mon, 23 Nov 2009 17:28:38 +0000 (17:28 -0000)
committerBalint Reczey <balint.reczey@ericsson.com>
Mon, 23 Nov 2009 17:28:38 +0000 (17:28 -0000)
svn path=/trunk/; revision=31052

epan/oids.c

index 3935f41df1fa9ed160c05f66a9e4e5e0b000e456..74c3b0c9b9e47e6838552c008b285323b7c4ff48 100644 (file)
@@ -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