Blame SOURCES/net-snmp-5.8-expand-SNMPCONFPATH.patch

0e8785
diff -ruNp a/snmplib/read_config.c b/snmplib/read_config.c
0e8785
--- a/snmplib/read_config.c	2020-06-10 09:51:57.184786510 +0200
0e8785
+++ b/snmplib/read_config.c	2020-06-10 09:53:13.257507112 +0200
0e8785
@@ -1642,7 +1642,7 @@ snmp_save_persistent(const char *type)
0e8785
      * save a warning header to the top of the new file 
0e8785
      */
0e8785
     snprintf(fileold, sizeof(fileold),
0e8785
-            "%s%s# Please save normal configuration tokens for %s in SNMPCONFPATH/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s",
0e8785
+            "%s%s# Please save normal configuration tokens for %s in /etc/snmp/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s",
0e8785
             "#\n# net-snmp (or ucd-snmp) persistent data file.\n#\n############################################################################\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n",
0e8785
             "#\n#          **** DO NOT EDIT THIS FILE ****\n#\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n############################################################################\n#\n# DO NOT STORE CONFIGURATION ENTRIES HERE.\n",
0e8785
             type, type, type,