diff options
author | peter <peter@FreeBSD.org> | 1995-11-03 19:06:45 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-11-03 19:06:45 +0000 |
commit | ad9443ce5263b62609a136c4850ff5d752101015 (patch) | |
tree | 018f6f3bd2ec7c0af5501d9e1ff1d55ebdc801d4 /usr.sbin/pppd/ipcp.c | |
parent | 82eac92f0eabf07be49c963cb65c55cdae0aed2b (diff) | |
download | FreeBSD-src-ad9443ce5263b62609a136c4850ff5d752101015.zip FreeBSD-src-ad9443ce5263b62609a136c4850ff5d752101015.tar.gz |
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
Diffstat (limited to 'usr.sbin/pppd/ipcp.c')
-rw-r--r-- | usr.sbin/pppd/ipcp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pppd/ipcp.c b/usr.sbin/pppd/ipcp.c index 3d99235..86c47ed 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; } |