From ca06fe56472ed2a6ae2730bb04203bc0a00263f0 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Fri, 10 May 2002 12:48:09 +0000 Subject: [PATCH] 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(-) diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 648c862bd3a..ec52eaaf811 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;