summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/pf_key_v2.c4
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)