diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-10-18 00:42:31 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-10-18 00:42:31 +0000 |
commit | 65b1e6e0160d77bd7e79cf9adba2c1c3b418b6bf (patch) | |
tree | 1c1077fcb41b0cf0b3e77d1bfefd2d0325c395fc /sbin | |
parent | 75b0aa7b2dc25169e17b1e12a53995e383d7741a (diff) |
Destination address is not needed for flows.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipsecadm/ipsecadm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c index 40b79ab8c4b..83a32ce922d 100644 --- a/sbin/ipsecadm/ipsecadm.c +++ b/sbin/ipsecadm/ipsecadm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecadm.c,v 1.46 2000/10/16 23:00:40 niklas Exp $ */ +/* $OpenBSD: ipsecadm.c,v 1.47 2000/10/18 00:42:30 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -1450,10 +1450,7 @@ main(int argc, char **argv) exit(1); } - if (!dstset && !iscmd(mode, FLUSH) && - (!iscmd(mode, FLOW) || (iscmd(mode, FLOW) && - (smsg.sadb_msg_type != SADB_X_DELFLOW) && - !deny && !bypass && !ipsec))) + if (!dstset && !iscmd(mode, FLUSH) && !iscmd(mode, FLOW)) { fprintf(stderr, "%s: no destination address for the SA specified\n", argv[0]); |