1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/poptop/files/patch-defaults.h
Sam Lawrance 9969531d09 Update to 1.2.3
PR:		ports/88260
Submitted by:	Serge Maslov <serge@maslov.biz>
Approved by:	Oleg M. Golovanov <olmi@rentech.ru> (maintainer, timeout 26 days)
2005-11-28 12:44:11 +00:00

18 lines
432 B
C

--- 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"
+#endif
#endif
#define PIDFILE_DEFAULT "/var/run/pptpd.pid"