diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-02-17 14:49:04 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-02-17 14:49:04 +0000 |
commit | 8fa48723d9e5af3e435c9613d5a8278f3dfa7834 (patch) | |
tree | bfc00026219119a7d821c6a2e19d515a9c847d26 /sys/netinet | |
parent | b4f4ce4a7dc0c7f99cc6c548e224f687befd5e5d (diff) |
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/netinet')
-rw-r--r-- | sys/netinet/ip_ipcomp.c | 3 |
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: |