diff packages/net/snmp/lib/current/include/config.h @ 562:5357047a765d

Implementation of snmpv3 and a cleanup of the documentation
author asl
date Mon, 03 Feb 2003 16:34:44 +0000
parents d2c90368aeef
children 3b9aa5717c76
line wrap: on
line diff
--- a/packages/net/snmp/lib/current/include/config.h
+++ b/packages/net/snmp/lib/current/include/config.h
@@ -174,7 +174,11 @@ CONNECTION WITH THE USE OR PERFORMANCE O
 /* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving
    persisant information to this directory in the form of configuration
    lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */
-//#define PERSISTENT_DIRECTORY "/var/ucd-snmp"
+#ifdef CYGPKG_SNMPLIB_PERSISTENT_FILESYSTEM
+#define PERSISTENT_DIRECTORY "/var/ucd-snmp"
+#else
+#define PERSISTENT_DIRECTORY "/dev/null"
+#endif
 
 /* PERSISTENT_MASK: the umask permissions to set up the persistent files with */
 //#define PERSISTENT_MASK 077