summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-02-02 03:14:02 +0000
committerchristos <christos@NetBSD.org>2015-02-02 03:14:02 +0000
commitc1529ddf14dbedee0fbcd71c76c4d8554b2edfd9 (patch)
treee68e898b571a0e4529cc3abcf2e04bf7b3cad002
parent61a1eee58a902fa7cf78acb6bd0b1951bbbe56b7 (diff)
CID/1267860: Missing break in switch
-rw-r--r--sys/netinet6/ip6_output.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 0222b811f5f..23894ed6c70 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_output.c,v 1.162 2015/01/20 21:42:36 roy Exp $ */
+/* $NetBSD: ip6_output.c,v 1.163 2015/02/02 03:14:02 christos Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.162 2015/01/20 21:42:36 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.163 2015/02/02 03:14:02 christos Exp $");
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -2144,6 +2144,7 @@ ip6_getpcbopt(struct ip6_pktopts *pktopt, int optname, struct sockopt *sopt)
else
optdata = (void *)&defpreftemp;
optdatalen = sizeof(int);
+ break;
default: /* should not happen */
#ifdef DIAGNOSTIC
panic("ip6_getpcbopt: unexpected option\n");