diff options
-rw-r--r-- | sbin/ipsec/rt/rt.c | 2 | ||||
-rw-r--r-- | sbin/ipsec/rtdelete/rtdelete.c | 2 |
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) { |