diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 1999-08-10 11:35:27 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 1999-08-10 11:35:27 +0000 |
commit | 6b9957a8038b645f5984d1b4eb10013c4ce17a19 (patch) | |
tree | 2401a52c24e06d3c94b84f850b94711513cc3852 /sys/netinet/ip_ipsp.c | |
parent | 7056109a961e346413653d18dbbd0ddf6fab661f (diff) |
Add tdb_satype (PF_KEY SADB_SATYPE_<XXX>) to struct tdb
Diffstat (limited to 'sys/netinet/ip_ipsp.c')
-rw-r--r-- | sys/netinet/ip_ipsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index 5e4eb4fea11..ef4966372bb 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.c,v 1.52 1999/08/05 21:58:15 ho Exp $ */ +/* $OpenBSD: ip_ipsp.c,v 1.53 1999/08/10 11:35:26 ho Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -406,6 +406,7 @@ reserve_spi(u_int32_t sspi, u_int32_t tspi, union sockaddr_union *src, bcopy(&src->sa, &tdbp->tdb_src.sa, SA_LEN(&src->sa)); tdbp->tdb_sproto = sproto; tdbp->tdb_flags |= TDBF_INVALID; /* Mark SA as invalid for now */ + tdbp->tdb_satype = SADB_SATYPE_UNSPEC; tdbp->tdb_established = time.tv_sec; tdbp->tdb_epoch = kernfs_epoch - 1; puttdb(tdbp); |