]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
henrik-requested non rcs mib version check
authorkostas <>
Tue, 17 Mar 1998 12:31:01 +0000 (12:31 +0000)
committerkostas <>
Tue, 17 Mar 1998 12:31:01 +0000 (12:31 +0000)
include/version.h
snmplib/parse.c
src/mib.txt

index 06945f6d85867f0ca0f0804a6c86d93e6fada8c1..7001298add1552f115f9e097c9a9d1167e16f78c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: version.h,v 1.108 1998/03/17 05:07:46 wessels Exp $
+ * $Id: version.h,v 1.109 1998/03/17 05:31:01 kostas Exp $
  *
  *  SQUID_VERSION - String for version id of this distribution
  */
@@ -12,5 +12,5 @@
 #endif
 
 #ifndef CURRENT_MIB_VERSION
-#define CURRENT_MIB_VERSION "Id: mib.txt,v 1.11 1998/02/26 23:16:52 kostas Exp $"
+#define CURRENT_MIB_VERSION "v 1.12 1998/03/16 kostas@nlanr.net"
 #endif
index a4e2620dea7fd2c678789e845361736ef87ea163..4763da788f2c251b37c8020f98eeb235c67ccc3c 100644 (file)
@@ -1098,7 +1098,7 @@ read_mib(char *filename)
     }
 
     mbuf[0]='\0';
-    while ( (p=fgets(mbuf, 256, fp)) && strncmp(&mbuf[4], CURRENT_MIB_VERSION,
+    while ( (p=fgets(mbuf, 256, fp)) && strncmp(&mbuf[3], CURRENT_MIB_VERSION,
                strlen(CURRENT_MIB_VERSION)));
     if (!p) {
         snmplib_debug(0, "Bad MIB version or tag missing, install original!\n");
index 20cb17ca66ae33abb2381abb8179c6fc7a3376e2..ef872481bb73cf51ebf27bbbdebe7fdcfc7f47b4 100644 (file)
@@ -13,7 +13,7 @@ SQUID-MIB DEFINITIONS ::= BEGIN
 
 -- Do NOT remove the following line
 
--- $Id: mib.txt,v 1.11 1998/02/26 23:16:52 kostas Exp $
+-- v 1.12 1998/03/16 kostas@nlanr.net
 
 -- 
 -- definitions included for standalone agent/managers