diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-05-16 21:35:55 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-05-16 21:35:55 +0000 |
commit | 60416e45015c3b4729c79c59c1322d58b4146410 (patch) | |
tree | 22cccbdfb72139fa40f12c1880acf5fc734a17cb | |
parent | 0dacaf536cdff0c70d067a1648e846cf6e7bcffc (diff) |
The enc interface should not be IFF_LOOPBACK, as AH and ESP uses that
as receiving interface for filtering
-rw-r--r-- | sys/net/if_enc.c | 4 |
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; |