Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/ipsec Fix wrong argument handling



details:   https://anonhg.NetBSD.org/src/rev/b3232049dfac
branches:  trunk
changeset: 355151:b3232049dfac
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Sat Jul 15 07:26:02 2017 +0000

description:
Fix wrong argument handling

diffstat:

 tests/net/ipsec/t_ipsec_misc.sh |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 0971725a1f3b -r b3232049dfac tests/net/ipsec/t_ipsec_misc.sh
--- a/tests/net/ipsec/t_ipsec_misc.sh   Sat Jul 15 06:25:20 2017 +0000
+++ b/tests/net/ipsec/t_ipsec_misc.sh   Sat Jul 15 07:26:02 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_misc.sh,v 1.9 2017/07/14 11:54:52 ozaki-r Exp $
+#      $NetBSD: t_ipsec_misc.sh,v 1.10 2017/07/15 07:26:02 ozaki-r Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -655,8 +655,7 @@
 {
        local proto=$1
        local algo=$2
-       local update=$3
-       local preferred=$4
+       local preferred=$3
        local ip_local=10.0.0.1
        local ip_peer=10.0.0.2
        local algo_args="$(generate_algo_args $proto $algo)"



Home | Main Index | Thread Index | Old Index