diff options
Diffstat (limited to 'net/poptop/files/patch-defaults.h')
-rw-r--r-- | net/poptop/files/patch-defaults.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net/poptop/files/patch-defaults.h b/net/poptop/files/patch-defaults.h index a1a0e7aab929..cec44ad6f0c8 100644 --- a/net/poptop/files/patch-defaults.h +++ b/net/poptop/files/patch-defaults.h @@ -1,11 +1,17 @@ ---- defaults.h.orig Wed Apr 28 11:36:07 2004 -+++ defaults.h Thu Oct 20 22:33:48 2005 -@@ -45,7 +45,7 @@ +--- defaults.h.orig Thu Mar 7 19:09:42 2002 ++++ defaults.h Sun Sep 8 10:19:58 2002 +@@ -40,10 +40,14 @@ + #endif + + #define PPP_SPEED_DEFAULT "115200" ++#ifdef __FreeBSD__ ++#define PPTPD_CONFIG_FILE_DEFAULT ETCDIR "/pptpd.conf" ++#else #if EMBED #define PPTPD_CONFIG_FILE_DEFAULT "/etc/config/pptpd.conf" #else --#define PPTPD_CONFIG_FILE_DEFAULT "/etc/pptpd.conf" -+#define PPTPD_CONFIG_FILE_DEFAULT "/usr/local/etc/pptpd.conf" + #define PPTPD_CONFIG_FILE_DEFAULT "/etc/pptpd.conf" ++#endif #endif #define PIDFILE_DEFAULT "/var/run/pptpd.pid" |