Explorar o código

Disabled mib warnings, annoying for normal users.

AdrianSimionov %!s(int64=10) %!d(string=hai) anos
pai
achega
ccab540cc8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/docsis.c

+ 2 - 1
src/docsis.c

@@ -442,7 +442,8 @@ setup_mib_flags(int resolve_oids, char *custom_mibs) {
 #ifdef DEBUG
 /*  snmp_set_mib_warnings (2); */
 #endif /* DEBUG  */
-snmp_set_mib_warnings (1);
+/* We do not want warning for normal users. Should be set with an argument on the CLI maybe?
+ * snmp_set_mib_warnings (1); */
 
   if (custom_mibs)
     {