Fix error in rev. 1.68. The intention was to break out the switch(){},

but actually exited from the for(){} loop. This fixes the PPPIOCSCOMPRESS
ioctl.

PR:		kern/101333
Submitted by:	Igor Popov <igorpopov newmail.ru>
This commit is contained in:
Gleb Smirnoff 2006-10-21 09:44:02 +00:00
parent d0c8105042
commit 2d479ae19b

View File

@ -543,7 +543,7 @@ pppioctl(sc, cmd, data, flag, td)
sc->sc_flags &= ~SC_DECOMP_RUN;
splx(s);
}
break;
return (error);
}
if (sc->sc_flags & SC_DEBUG)
if_printf(PPP2IFP(sc), "no compressor for [%x %x %x], %x\n",