X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipcp.c;h=6e0346b77df1a9e919151dd977081b12057dc3db;hp=a0956d9903884a52b5d352daa978d7d1062d3658;hb=f4cdbd273ac5142ed42e8e3fd7eb1109cd58119a;hpb=75951d7bb62003e37dd390e773df19f16250d27d diff --git a/pppd/ipcp.c b/pppd/ipcp.c index a0956d9..6e0346b 100644 --- a/pppd/ipcp.c +++ b/pppd/ipcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: ipcp.c,v 1.41 1999/03/16 22:54:38 paulus Exp $"; +static char rcsid[] = "$Id: ipcp.c,v 1.42 1999/03/19 01:19:31 paulus Exp $"; #endif /* @@ -848,12 +848,9 @@ ipcp_nakci(f, p, len) p = next; } - /* If there is still anything left, this packet is bad. */ - if (len != 0) - goto bad; - /* * OK, the Nak is good. Now we can update state. + * If there are any remaining options, we ignore them. */ if (f->state != OPENED) *go = try;