Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf fixup misplaced #endif



details:   https://anonhg.NetBSD.org/src/rev/e07af3f22942
branches:  trunk
changeset: 818929:e07af3f22942
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Mon Nov 07 18:16:07 2016 +0000

description:
fixup misplaced #endif

diffstat:

 sys/net/npf/npf_inet.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 31650ded4652 -r e07af3f22942 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;
        }



Home | Main Index | Thread Index | Old Index