opnsense-ports/net/poptop/files/patch-defaults.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
535 B
C

--- 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 */