From 16cf272d570a15a6d09a6b724b312f101a26ff74 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Tue, 24 May 2005 02:30:04 +0000 Subject: Better SA state reporting. markus@, hshoexer@ ok. --- sys/net/pfkeyv2_convert.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/pfkeyv2_convert.c b/sys/net/pfkeyv2_convert.c index 54a44f13765..0c7f1963414 100644 --- a/sys/net/pfkeyv2_convert.c +++ b/sys/net/pfkeyv2_convert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2_convert.c,v 1.22 2005/05/10 13:42:11 markus Exp $ */ +/* $OpenBSD: pfkeyv2_convert.c,v 1.23 2005/05/24 02:30:03 ho Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@keromytis.org) * @@ -163,6 +163,8 @@ export_sa(void **p, struct tdb *tdb) if (tdb->tdb_flags & TDBF_INVALID) sadb_sa->sadb_sa_state = SADB_SASTATE_LARVAL; + else + sadb_sa->sadb_sa_state = SADB_SASTATE_MATURE; if (tdb->tdb_sproto == IPPROTO_IPCOMP && tdb->tdb_compalgxform != NULL) { -- cgit v1.2.3