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