From 8dc69a6709017b6a6bd8fd7a4c7e349d92cd532c Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 10 May 2002 12:48:09 +0000 Subject: 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 ,David Malone MFC after: 1 day --- sys/net/if_spppsubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_spppsubr.c') 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; -- cgit v1.1