summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2000-10-25 22:01:02 +0000
committerjason <jason@openbsd.org>2000-10-25 22:01:02 +0000
commit86cf289532d76a6053c1258ded28fc35e26a6f52 (patch)
treece40a6a51998a5ac96054b08f9f3224f32088a45
parentmark swap16() and swap32() with __extension__; guenther@gac.edu (diff)
downloadwireguard-openbsd-86cf289532d76a6053c1258ded28fc35e26a6f52.tar.xz
wireguard-openbsd-86cf289532d76a6053c1258ded28fc35e26a6f52.zip
silence the "no multicast" warning for IFT_ENC, too
deraadt ok
-rw-r--r--sys/netinet6/in6_ifattach.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
index 5f5bffc8e5f..011ca6b9b61 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_ifattach.c,v 1.12 2000/10/18 18:49:39 itojun Exp $ */
+/* $OpenBSD: in6_ifattach.c,v 1.13 2000/10/25 22:01:02 jason Exp $ */
/* $KAME: in6_ifattach.c,v 1.68 2000/10/18 18:44:24 itojun Exp $ */
/*
@@ -589,6 +589,7 @@ in6_ifattach(ifp, altifp)
/* some of the interfaces are inherently not IPv6 capable */
switch (ifp->if_type) {
case IFT_BRIDGE:
+ case IFT_ENC:
return;
case IFT_PROPVIRTUAL:
if (strncmp("bridge", ifp->if_xname, sizeof("bridge")) == 0 &&