mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
c0a06166a0
commit
ca06fe5647
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue