summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-12-04 23:31:43 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-12-04 23:31:43 +0000
commitb925b0db667a4180fe63e3f59c05fe2468c5285b (patch)
tree6f0045b1e74ebe3adcaad6e771ac2894b213e8ac /sbin
parent1d8effd57832b9eec3c910ffb03a603bb90a91f6 (diff)
Get rid of the LOCALFLOW flag.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/pf_key_v2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c
index ee6f4d8de1e..a30e5cb4fac 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.15 1999/07/16 00:44:49 niklas Exp $ */
+/* $OpenBSD: pf_key_v2.c,v 1.16 1999/12/04 23:31:42 angelos Exp $ */
/* $EOM: pf_key_v2.c,v 1.19 1999/07/16 00:29:11 niklas Exp $ */
/*
@@ -1008,11 +1008,7 @@ pf_key_v2_flow (in_addr_t laddr, in_addr_t lmask, in_addr_t raddr,
ssa.sadb_sa_state = 0;
ssa.sadb_sa_auth = 0;
ssa.sadb_sa_encrypt = 0;
- /*
- * XXX The LOCALFLOW flag should only be set if this machine is part of the
- * source subnet.
- */
- ssa.sadb_sa_flags = SADB_X_SAFLAGS_LOCALFLOW;
+ ssa.sadb_sa_flags = 0;
if (!delete)
ssa.sadb_sa_flags |= SADB_X_SAFLAGS_REPLACEFLOW;
if (pf_key_v2_msg_add (flow, (struct sadb_ext *)&ssa, 0) == -1)