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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user