Fix a misplaced break statement within a switch that accidentally made

it into an "#ifdef INET6" block.  This caused a (harmless but annoying)
EINVAL return value to be sent even though the operation completed
successfully.

PR:		kern/37786
Submitted by:	Ari Suutari <ari.suutari@syncrontech.com>,David Malone <dwmalone@maths.tcd.ie>
MFC after:	1 day
This commit is contained in:
Joerg Wunsch 2002-05-10 12:48:09 +00:00
parent c0a06166a0
commit ca06fe5647

View file

@ -5145,8 +5145,8 @@ sppp_params(struct sppp *sp, u_long cmd, void *data)
sp->confflags |= CONF_ENABLE_IPV6;
else
sp->confflags &= ~CONF_ENABLE_IPV6;
break;
#endif
break;
default:
rv = EINVAL;