summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-03-23 11:43:22 +0000
committerbrian <brian@FreeBSD.org>2001-03-23 11:43:22 +0000
commit13caec0c3d1c54cf40f76cf76029abcba9a66bb5 (patch)
treeb0f2f1f84e592340dac752c6815caabc57501f9f /usr.sbin/ppp/defs.h
parent3f5bbae0c4035dc8b5339fcc37cee61d1ae84e19 (diff)
downloadFreeBSD-src-13caec0c3d1c54cf40f76cf76029abcba9a66bb5.zip
FreeBSD-src-13caec0c3d1c54cf40f76cf76029abcba9a66bb5.tar.gz
Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile time
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index 9432470..088444f 100644
--- a/usr.sbin/ppp/defs.h
+++ b/usr.sbin/ppp/defs.h
@@ -32,7 +32,9 @@
#endif
#define NMODEMS 2
-#define _PATH_PPP "/etc/ppp"
+#ifndef PPP_CONFDIR
+#define PPP_CONFDIR "/etc/ppp"
+#endif
#define TUN_NAME "tun"
#define TUN_PREFIX (_PATH_DEV TUN_NAME) /* /dev/tun */
OpenPOWER on IntegriCloud