X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipcp.c;h=2566fc82e0ddc1663bbc300a15c94bae16969399;hp=4e1f52f5c9ad6aeed3a8c803219d0d121248b028;hb=dee72905271845128ad26cff5cf770c433f3f4a7;hpb=d2c47831fcb019c5ac63c4f8382dd5fd2302a7d7 diff --git a/pppd/ipcp.c b/pppd/ipcp.c index 4e1f52f..2566fc8 100644 --- a/pppd/ipcp.c +++ b/pppd/ipcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: ipcp.c,v 1.18 1995/05/19 03:18:08 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; } @@ -581,10 +588,9 @@ ipcp_nakci(f, p, len) if (ciaddr1 && go->accept_local) try.ouraddr = ciaddr1; if (try.ouraddr != 0) - no.neg_addr = 1; + try.neg_addr = 1; + no.neg_addr = 1; break; - default: - goto bad; } p = next; }