diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-01-23 22:50:56 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-01-23 22:50:56 +0000 |
commit | 36ab33edbbe4697d9a3f9dbfc7a245668371271b (patch) | |
tree | dbff2ab9943be58e21a1edfb2dc0eea81ecb3aeb /sbin/isakmpd/pf_key_v2.c | |
parent | 36d5cb52d6b24e363e86554c4c7f36959f0e1dc1 (diff) |
Send an SA payload when we're deleting an ingress flow.
Diffstat (limited to 'sbin/isakmpd/pf_key_v2.c')
-rw-r--r-- | sbin/isakmpd/pf_key_v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c index 2daad1994d9..d464c0131fb 100644 --- a/sbin/isakmpd/pf_key_v2.c +++ b/sbin/isakmpd/pf_key_v2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_key_v2.c,v 1.18 2000/01/13 22:55:48 angelos Exp $ */ +/* $OpenBSD: pf_key_v2.c,v 1.19 2000/01/23 22:50:55 angelos Exp $ */ /* $EOM: pf_key_v2.c,v 1.19 1999/07/16 00:29:11 niklas Exp $ */ /* @@ -1022,7 +1022,7 @@ pf_key_v2_flow (in_addr_t laddr, in_addr_t lmask, in_addr_t raddr, * XXX Addresses has to be thought through. Assumes IPv4. */ len = sizeof *addr + PF_KEY_V2_ROUND (sizeof (struct sockaddr_in)); - if (!delete) + if (!delete || ingress) { addr = malloc (len); if (!addr) |