diff options
author | joerg <joerg@FreeBSD.org> | 2002-05-10 12:48:09 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2002-05-10 12:48:09 +0000 |
commit | 8dc69a6709017b6a6bd8fd7a4c7e349d92cd532c (patch) | |
tree | d7ff7b78ca6a6c33223d5a3a244275dfae6f6997 /sys/net/if_spppsubr.c | |
parent | ae16f85e568d66c5dea67ff232a8e01ce6792d29 (diff) | |
download | FreeBSD-src-8dc69a6709017b6a6bd8fd7a4c7e349d92cd532c.zip FreeBSD-src-8dc69a6709017b6a6bd8fd7a4c7e349d92cd532c.tar.gz |
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
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 648c862..ec52eaa 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -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; |