summaryrefslogtreecommitdiff
path: root/sbin/ipsec
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-07-13 23:05:16 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-07-13 23:05:16 +0000
commit633c54df25068ea5ea1efc87233be815e87d708d (patch)
tree4cf87132a89e9dd94024853d9cb7673fd221d816 /sbin/ipsec
parent3858605ff15df0aacfd8aba712111647e65000ef (diff)
Typo correction.
Diffstat (limited to 'sbin/ipsec')
-rw-r--r--sbin/ipsec/rt/rt.c2
-rw-r--r--sbin/ipsec/rtdelete/rtdelete.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsec/rt/rt.c b/sbin/ipsec/rt/rt.c
index 996eb13bc7e..b3990593ce9 100644
--- a/sbin/ipsec/rt/rt.c
+++ b/sbin/ipsec/rt/rt.c
@@ -113,7 +113,7 @@ char **argv;
if (atoi(argv[8]) >= 0)
{
- dst->sen_proto = atoi(argv[7]);
+ dst->sen_proto = atoi(argv[8]);
msk->sen_proto = 0xff;
if (atoi(argv[9]) >= 0)
{
diff --git a/sbin/ipsec/rtdelete/rtdelete.c b/sbin/ipsec/rtdelete/rtdelete.c
index 841fc8cd761..8855cb70e2e 100644
--- a/sbin/ipsec/rtdelete/rtdelete.c
+++ b/sbin/ipsec/rtdelete/rtdelete.c
@@ -114,7 +114,7 @@ char **argv;
if (atoi(argv[8]) >= 0)
{
- dst->sen_proto = atoi(argv[7]);
+ dst->sen_proto = atoi(argv[8]);
msk->sen_proto = 0xff;
if (atoi(argv[8]) >= 0)
{