X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fipcp.c;h=2566fc82e0ddc1663bbc300a15c94bae16969399;hb=65445bac89a82ee68c6d66ab1afc271e56543f12;hp=112def979666ec79395711d8b2965022b1d0c9b4;hpb=fa27d664513ba1af7257fc642ff6c7a90dd65001;p=ppp.git diff --git a/pppd/ipcp.c b/pppd/ipcp.c index 112def9..2566fc8 100644 --- a/pppd/ipcp.c +++ b/pppd/ipcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: ipcp.c,v 1.19 1995/06/01 01:30:38 paulus Exp $"; +static char rcsid[] = "$Id: ipcp.c,v 1.21 1995/08/17 11:57:12 paulus Exp $"; #endif /* @@ -149,6 +149,13 @@ ipcp_init(unit) ao->neg_vj = 1; ao->maxslotindex = MAX_STATES - 1; ao->cflag = 1; + + /* + * XXX These control whether the user may use the proxyarp + * and defaultroute options. + */ + ao->proxy_arp = 1; + ao->default_route = 1; } @@ -584,8 +591,6 @@ ipcp_nakci(f, p, len) try.neg_addr = 1; no.neg_addr = 1; break; - default: - goto bad; } p = next; }