summaryrefslogtreecommitdiff
path: root/sbin/ipsec/rtdelete
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipsec/rtdelete')
-rw-r--r--sbin/ipsec/rtdelete/rtdelete.c2
1 files changed, 1 insertions, 1 deletions
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)
{