summaryrefslogtreecommitdiff
path: root/sbin/ipsecadm
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-03-29 04:52:54 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-03-29 04:52:54 +0000
commitc88e14f2546ce3d5ed6cd2890cd74273fd79c0b2 (patch)
treeab4966fcdfa7789f58f679e0595bd25111fc92e6 /sbin/ipsecadm
parentfa817f622cac2f024d1073a1e9537bca4f8a493d (diff)
make it compile
Diffstat (limited to 'sbin/ipsecadm')
-rw-r--r--sbin/ipsecadm/ipsecadm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c
index 3bea6f5f325..ccb3fd24ac6 100644
--- a/sbin/ipsecadm/ipsecadm.c
+++ b/sbin/ipsecadm/ipsecadm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecadm.c,v 1.15 1999/03/27 21:04:18 provos Exp $ */
+/* $OpenBSD: ipsecadm.c,v 1.16 1999/03/29 04:52:53 provos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -483,7 +483,7 @@ main(int argc, char **argv)
}
if (!strcmp(argv[i] + 1, "spi2") && spi2 == 0 &&
- (iscmd(mode, GRP_SPI) || iscmd(mode, BINDSA) && (i + 1 < argc))
+ (iscmd(mode, GRP_SPI) || iscmd(mode, BINDSA)) && (i + 1 < argc))
{
if ((spi2 = htonl(strtoul(argv[i + 1], NULL, 16))) == 0)
{
@@ -691,7 +691,7 @@ main(int argc, char **argv)
}
if (!strcmp(argv[i] + 1, "dst2") &&
- (iscmd(mode, GRP_SPI) || iscmd(mode, BINDSA) && (i + 1 < argc))
+ (iscmd(mode, GRP_SPI) || iscmd(mode, BINDSA)) && (i + 1 < argc))
{
sad8.sadb_address_len = (sizeof(sad8) +
sizeof(struct sockaddr_in)) / 8;