summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-02-17 14:49:03 +0000
committerbluhm <bluhm@openbsd.org>2017-02-17 14:49:03 +0000
commita10a4f651fb52382d30c8ef239cf391e46221a55 (patch)
tree8f2cae926aec0e55072f2aef716e57bc6c862ebd /sys
parentMention arm64 and armv7. (diff)
downloadwireguard-openbsd-a10a4f651fb52382d30c8ef239cf391e46221a55.tar.xz
wireguard-openbsd-a10a4f651fb52382d30c8ef239cf391e46221a55.zip
Using ipcomp(4) with IPv6 transport mode failed with protocol family
not supported. A break in the af switch statement was missing since revision 1.1 from 2001. OK visa@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_ipcomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c
index 291f22f20eb..75f9f0d6aa7 100644
--- a/sys/netinet/ip_ipcomp.c
+++ b/sys/netinet/ip_ipcomp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.c,v 1.54 2017/02/09 00:43:58 bluhm Exp $ */
+/* $OpenBSD: ip_ipcomp.c,v 1.55 2017/02/17 14:49:03 bluhm Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -411,6 +411,7 @@ ipcomp_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip,
ipcompstat.ipcomps_toobig++;
return EMSGSIZE;
}
+ break;
#endif /* INET6 */
default: