]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Squid SNMP code rewrite
authorglenn <>
Thu, 12 Nov 1998 03:19:55 +0000 (03:19 +0000)
committerglenn <>
Thu, 12 Nov 1998 03:19:55 +0000 (03:19 +0000)
snmplib/parse.c

index 7362922501204cc0db6b4b2527983f9adf24fe66..311666ac27247bcd3aa3361c4e03d03f16498a9b 100644 (file)
@@ -1098,13 +1098,13 @@ read_mib(char *filename)
        return (NULL);
     }
     mbuf[0] = '\0';
-    while ((p = fgets(mbuf, 256, fp)) && strncmp(mbuf, CURRENT_MIB_VERSION,
-           strlen(CURRENT_MIB_VERSION)));
+    while ((p = fgets(mbuf, 256, fp)) && strncmp(mbuf, "DUMMY",
+           strlen("DUMMY")));
     if (!p) {
        snmplib_debug(0, "Bad MIB version or tag missing, install original!\n");
        return NULL;
     }
-    if (!strcmp(mbuf, CURRENT_MIB_VERSION)) {
+    if (!strcmp(mbuf, "DUMMY")) {
        snmplib_debug(0, "You need to update your MIB!\n");
        return NULL;
     }