diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2006-12-19 11:31:11 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2006-12-19 11:31:11 +0000 |
commit | 10f0fbacbf47f76338f2fe5572c63c96da5bb222 (patch) | |
tree | 35a5095e8cebf4a8df02c4a8144e5b3562ae54ba | |
parent | b3bb86c090e7997e232f28b9dd3a4f326d695c47 (diff) |
TDBF_USEDTUNNEL flag manipulation was inside #ifdef INET. it applies
to INET6 too, so move it outside. markus ok
-rw-r--r-- | sys/netinet/ipsec_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ipsec_output.c b/sys/netinet/ipsec_output.c index b52b542cd01..f9848be7040 100644 --- a/sys/netinet/ipsec_output.c +++ b/sys/netinet/ipsec_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_output.c,v 1.35 2006/12/05 09:17:12 markus Exp $ */ +/* $OpenBSD: ipsec_output.c,v 1.36 2006/12/19 11:31:10 itojun Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -270,10 +270,10 @@ ipsp_process_packet(struct mbuf *m, struct tdb *tdb, int af, int tunalready) ip = mtod(m, struct ip *); ip->ip_off |= htons(IP_DF); } +#endif /* Remember that we appended a tunnel header. */ tdb->tdb_flags |= TDBF_USEDTUNNEL; -#endif } /* We may be done with this TDB */ |