summaryrefslogtreecommitdiff
path: root/sbin/ipsecadm
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-04-18 15:06:59 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-04-18 15:06:59 +0000
commit47e793c291239affc066833827fbcdb12825e582 (patch)
treeebaf43cdd71aa62fc4166f36c345ce7c44871241 /sbin/ipsecadm
parent9e825e11c4fcb0eb08acd02761d661061122be4d (diff)
missing iscmd
Diffstat (limited to 'sbin/ipsecadm')
-rw-r--r--sbin/ipsecadm/ipsecadm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c
index ccb3fd24ac6..21615834926 100644
--- a/sbin/ipsecadm/ipsecadm.c
+++ b/sbin/ipsecadm/ipsecadm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecadm.c,v 1.16 1999/03/29 04:52:53 provos Exp $ */
+/* $OpenBSD: ipsecadm.c,v 1.17 1999/04/18 15:06:58 provos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -761,7 +761,7 @@ main(int argc, char **argv)
}
if (!strcmp(argv[i] + 1, "proto2") &&
- iscmd(mode, GRP_SPI) && (i + 1 < argc))
+ (iscmd(mode, BINDSA) || iscmd(mode, GRP_SPI)) && (i + 1 < argc))
{
if (isalpha(argv[i + 1][0]))
{