From 60416e45015c3b4729c79c59c1322d58b4146410 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sun, 16 May 1999 21:35:55 +0000 Subject: The enc interface should not be IFF_LOOPBACK, as AH and ESP uses that as receiving interface for filtering --- sys/net/if_enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3