summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-05-27 00:39:43 +0000
committerangelos <angelos@openbsd.org>2001-05-27 00:39:43 +0000
commit85d4d38fd3358265c471c3db084cf7b008d50641 (patch)
treeab1c80205c824c282342fafb378cbc694938147b
parentUse the new IPsec tags. (diff)
downloadwireguard-openbsd-85d4d38fd3358265c471c3db084cf7b008d50641.tar.xz
wireguard-openbsd-85d4d38fd3358265c471c3db084cf7b008d50641.zip
New tags.
-rw-r--r--sys/netinet/ipsec_output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ipsec_output.c b/sys/netinet/ipsec_output.c
index 8fa6f4725f1..651dd71f849 100644
--- a/sys/netinet/ipsec_output.c
+++ b/sys/netinet/ipsec_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_output.c,v 1.9 2001/05/22 23:38:34 angelos Exp $ */
+/* $OpenBSD: ipsec_output.c,v 1.10 2001/05/27 00:39:43 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -340,11 +340,11 @@ ipsp_process_done(struct mbuf *m, struct tdb *tdb, struct tdb *tdb2)
* packet.
*/
if ((tdb->tdb_flags & TDBF_SKIPCRYPTO) == 0)
- mtag = m_tag_get(PACKET_TAG_IPSEC_DONE, sizeof(struct tdb_ident),
+ mtag = m_tag_get(PACKET_TAG_IPSEC_OUT_DONE, sizeof(struct tdb_ident),
M_NOWAIT);
else
- mtag = m_tag_get(PACKET_TAG_IPSEC_NEEDED, sizeof(struct tdb_ident),
- M_NOWAIT);
+ mtag = m_tag_get(PACKET_TAG_IPSEC_OUT_CRYPTO_NEEDED,
+ sizeof(struct tdb_ident), M_NOWAIT);
if (mtag == NULL)
{