mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
- fix an incompatibility, which causes daemon to eat 100% CPU even when completely idle (ages old problem with select()'ing on FIFO without writers opened for reading in non-blocking mode); - replace incomplete and ugly daemonize code with native daemon(3). Sponsored by: United Networks of Ukraine
20 lines
706 B
C
20 lines
706 B
C
|
|
$FreeBSD$
|
|
|
|
--- file.h.orig Wed Apr 10 23:09:33 2002
|
|
+++ file.h Wed Oct 23 16:34:37 2002
|
|
@@ -49,10 +49,10 @@
|
|
#define SENSE_ALLOW -1
|
|
#define SENSE_DENY 0
|
|
|
|
-#define DEFAULT_AUTH_FILE "/etc/l2tp/l2tp-secrets"
|
|
-#define ALT_DEFAULT_AUTH_FILE "/etc/l2tpd/l2tp-secrets"
|
|
-#define DEFAULT_CONFIG_FILE "/etc/l2tp/l2tpd.conf"
|
|
-#define ALT_DEFAULT_CONFIG_FILE "/etc/l2tpd/l2tpd.conf"
|
|
+#define DEFAULT_AUTH_FILE (PREFIX "/etc/l2tp/l2tp-secrets")
|
|
+#define ALT_DEFAULT_AUTH_FILE (PREFIX "/etc/l2tpd/l2tp-secrets")
|
|
+#define DEFAULT_CONFIG_FILE (PREFIX "/etc/l2tp/l2tpd.conf")
|
|
+#define ALT_DEFAULT_CONFIG_FILE (PREFIX "/etc/l2tpd/l2tpd.conf")
|
|
#define DEFAULT_PID_FILE "/var/run/l2tpd.pid"
|
|
|
|
/* Definition of an LNS */
|