Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/ipf/netinet add fallthru comments.
details: https://anonhg.NetBSD.org/src/rev/6bde39bfa6a1
branches: trunk
changeset: 448499:6bde39bfa6a1
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Feb 04 07:59:01 2019 +0000
description:
add fallthru comments.
diffstat:
sys/external/bsd/ipf/netinet/fil.c | 5 +++--
sys/external/bsd/ipf/netinet/ip_nat.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r 9b3f39745e4e -r 6bde39bfa6a1 sys/external/bsd/ipf/netinet/fil.c
--- a/sys/external/bsd/ipf/netinet/fil.c Mon Feb 04 05:24:18 2019 +0000
+++ b/sys/external/bsd/ipf/netinet/fil.c Mon Feb 04 07:59:01 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fil.c,v 1.24 2018/07/11 05:25:46 maxv Exp $ */
+/* $NetBSD: fil.c,v 1.25 2019/02/04 07:59:01 mrg Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -141,7 +141,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.24 2018/07/11 05:25:46 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.25 2019/02/04 07:59:01 mrg Exp $");
#else
static const char sccsid[] = "@(#)fil.c 1.36 6/5/96 (C) 1993-2000 Darren Reed";
static const char rcsid[] = "@(#)Id: fil.c,v 1.1.1.2 2012/07/22 13:45:07 darrenr Exp $";
@@ -1267,6 +1267,7 @@
}
}
#endif
+ /* FALLTHROUGH */
case ICMP_SOURCEQUENCH :
case ICMP_REDIRECT :
case ICMP_TIMXCEED :
diff -r 9b3f39745e4e -r 6bde39bfa6a1 sys/external/bsd/ipf/netinet/ip_nat.c
--- a/sys/external/bsd/ipf/netinet/ip_nat.c Mon Feb 04 05:24:18 2019 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_nat.c Mon Feb 04 07:59:01 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_nat.c,v 1.20 2018/06/03 10:37:23 maxv Exp $ */
+/* $NetBSD: ip_nat.c,v 1.21 2019/02/04 07:59:01 mrg Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -112,7 +112,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.20 2018/06/03 10:37:23 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.21 2019/02/04 07:59:01 mrg Exp $");
#else
static const char sccsid[] = "@(#)ip_nat.c 1.11 6/5/96 (C) 1995 Darren Reed";
static const char rcsid[] = "@(#)Id: ip_nat.c,v 1.1.1.2 2012/07/22 13:45:27 darrenr Exp";
@@ -4083,6 +4083,7 @@
case NAT_DIVERTOUT :
if (nat->nat_dlocal)
continue;
+ /* FALLTHROUGH */
case NAT_OUTBOUND :
if (nat->nat_v[1] != 4)
continue;
Home |
Main Index |
Thread Index |
Old Index