Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 CID/1267860: Missing break in switch



details:   https://anonhg.NetBSD.org/src/rev/693d50185d95
branches:  trunk
changeset: 335958:693d50185d95
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 02 03:14:02 2015 +0000

description:
CID/1267860: Missing break in switch

diffstat:

 sys/netinet6/ip6_output.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 553f665cc580 -r 693d50185d95 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Mon Feb 02 02:28:26 2015 +0000
+++ b/sys/netinet6/ip6_output.c Mon Feb 02 03:14:02 2015 +0000
@@ -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 @@
                else
                        optdata = (void *)&defpreftemp;
                optdatalen = sizeof(int);
+               break;
        default:                /* should not happen */
 #ifdef DIAGNOSTIC
                panic("ip6_getpcbopt: unexpected option\n");



Home | Main Index | Thread Index | Old Index