Prechádzať zdrojové kódy

Disabled mib warnings, annoying for normal users.

AdrianSimionov 10 rokov pred
rodič
commit
ccab540cc8
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  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)
     {