aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/ipcp.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1995-11-03 19:06:45 +0000
committerPeter Wemm <peter@FreeBSD.org>1995-11-03 19:06:45 +0000
commit042cd119d32538cfb1984dc8765682959942e491 (patch)
tree018f6f3bd2ec7c0af5501d9e1ff1d55ebdc801d4 /usr.sbin/pppd/ipcp.c
parent8f08f33ed9441d461f9496247204128c5b8c7f7b (diff)
downloadsrc-042cd119d32538cfb1984dc8765682959942e491.tar.gz
src-042cd119d32538cfb1984dc8765682959942e491.zip
AARGH!! by default, pppd would no longer allow users to use "proxyarp"
or "defaultroute"... That's forgivable I guess, but the silly thing didn't have any way to _enable_ the options either! :-( This now enables them by default. Obtained from: ppp-2.3a0
Notes
Notes: svn path=/head/; revision=12044
Diffstat (limited to 'usr.sbin/pppd/ipcp.c')
-rw-r--r--usr.sbin/pppd/ipcp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pppd/ipcp.c b/usr.sbin/pppd/ipcp.c
index 3d99235440b2..86c47edbfb10 100644
--- a/usr.sbin/pppd/ipcp.c
+++ b/usr.sbin/pppd/ipcp.c
@@ -18,7 +18,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: ipcp.c,v 1.20 1995/08/10 06:51:04 paulus Exp $";
+static char rcsid[] = "$Id: ipcp.c,v 1.4 1995/10/31 21:21:06 peter Exp $";
#endif
/*
@@ -149,6 +149,10 @@ ipcp_init(unit)
ao->neg_vj = 1;
ao->maxslotindex = MAX_STATES - 1;
ao->cflag = 1;
+
+ /* allow default route and proxyarp */
+ ao->proxy_arp = 1;
+ ao->default_route = 1;
}