Hi,

When using ipcomp(4) with IPv6 transport mode I get this error:

ping6: sendmsg: Protocol family not supported

The break in the switch statement is missing since rev 1.1 from 2001.
So I am the first one testing this.

ok?

bluhm

Index: netinet/ip_ipcomp.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/ip_ipcomp.c,v
retrieving revision 1.54
diff -u -p -r1.54 ip_ipcomp.c
--- netinet/ip_ipcomp.c 9 Feb 2017 00:43:58 -0000       1.54
+++ netinet/ip_ipcomp.c 17 Feb 2017 13:44:11 -0000
@@ -411,6 +411,7 @@ ipcomp_output(struct mbuf *m, struct tdb
                        ipcompstat.ipcomps_toobig++;
                        return EMSGSIZE;
                }
+               break;
 #endif /* INET6 */
 
        default:

Reply via email to