fixup misplaced #endif trunk
authorjnemeth <jnemeth@NetBSD.org>
Mon, 07 Nov 2016 18:16:07 +0000
branchtrunk
changeset 246026 d74bd999e29d
parent 246025 269dfe86674f
child 246027 3cecd8be6003
fixup misplaced #endif
sys/net/npf/npf_inet.c
--- a/sys/net/npf/npf_inet.c	Mon Nov 07 18:11:45 2016 +0000
+++ b/sys/net/npf/npf_inet.c	Mon Nov 07 18:16:07 2016 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: npf_inet.c,v 1.34 2016/03/18 10:09:46 mrg Exp $	*/
+/*	$NetBSD: npf_inet.c,v 1.35 2016/11/07 18:16:07 jnemeth Exp $	*/
 
 /*-
  * Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_inet.c,v 1.34 2016/03/18 10:09:46 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_inet.c,v 1.35 2016/11/07 18:16:07 jnemeth Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -657,10 +657,10 @@
 	case IPPROTO_ICMP:
 #ifdef INET6
 	case IPPROTO_ICMPV6:
+#endif
 		KASSERT(npf_iscached(npc, NPC_ICMP));
 		/* Nothing. */
 		break;
-#endif
 	default:
 		return ENOTSUP;
 	}