summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-06-27 20:57:41 +0000
committerjca <jca@openbsd.org>2016-06-27 20:57:41 +0000
commit626bb609c575b1ba68d9dd169de760b1ad741ba8 (patch)
treece8dc1f66fe123fa0ef2da6f0e330b488ed60879 /sys/netinet/tcp_input.c
parentRepair kill(2) on zombie processes. (diff)
downloadwireguard-openbsd-626bb609c575b1ba68d9dd169de760b1ad741ba8.tar.xz
wireguard-openbsd-626bb609c575b1ba68d9dd169de760b1ad741ba8.zip
Missing "break;" in switch statement; repairs IP_MINTTL.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 83f4a7e2f1b..cb700eca3da 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.322 2016/06/27 16:33:48 jca Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.323 2016/06/27 20:57:41 jca Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -637,6 +637,7 @@ findpcb:
case AF_INET:
if (inp->inp_ip_minttl && inp->inp_ip_minttl > ip->ip_ttl)
goto drop;
+ break;
#ifdef INET6
case AF_INET6:
if (inp->inp_ip6_minhlim &&