summaryrefslogtreecommitdiffstats
path: root/sys/net/if_enc.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-05-16 21:35:54 +0000
committerniklas <niklas@openbsd.org>1999-05-16 21:35:54 +0000
commit1c75c9a711550956418c2565e649521d979dcc9d (patch)
tree225a02b7a360ed463f5d2e663dba3efc1d8745d3 /sys/net/if_enc.c
parentCleanup xrefs under SEE ALSO. Specifically: (diff)
downloadwireguard-openbsd-1c75c9a711550956418c2565e649521d979dcc9d.tar.xz
wireguard-openbsd-1c75c9a711550956418c2565e649521d979dcc9d.zip
The enc interface should not be IFF_LOOPBACK, as AH and ESP uses that
as receiving interface for filtering
Diffstat (limited to 'sys/net/if_enc.c')
-rw-r--r--sys/net/if_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c
index 7130a272883..a6df38f45fb 100644
--- a/sys/net/if_enc.c
+++ b/sys/net/if_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_enc.c,v 1.9 1998/06/28 18:49:40 deraadt Exp $ */
+/* $OpenBSD: if_enc.c,v 1.10 1999/05/16 21:35:54 niklas Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -92,7 +92,7 @@ encattach(int nenc)
sprintf(enc_softc.if_xname, "enc0");
enc_softc.if_list.tqe_next = NULL;
enc_softc.if_mtu = ENCMTU;
- enc_softc.if_flags = IFF_LOOPBACK;
+ enc_softc.if_flags = 0;
enc_softc.if_type = IFT_ENC;
enc_softc.if_ioctl = encioctl;
enc_softc.if_output = encoutput;