summaryrefslogtreecommitdiff
path: root/net/poptop/files/patch-defaults.h
blob: ae69128957772e1ed4668965a1e03ec1194ed502 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- defaults.h.orig	Thu Mar  7 19:09:42 2002
+++ defaults.h	Sun Sep  8 10:19:58 2002
@@ -38,11 +38,15 @@
 #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"
 #endif
+#endif
 #define PIDFILE_DEFAULT                 "/var/run/pptpd.pid"
 
 #define STIMEOUT_DEFAULT                10 /* seconds */