Module Name: src Committed By: ozaki-r Date: Fri Oct 27 04:31:50 UTC 2017
Modified Files: src/tests/net/ipsec: algorithms.sh Log Message: Handle esp-udp for NAT-T To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/net/ipsec/algorithms.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/ipsec/algorithms.sh diff -u src/tests/net/ipsec/algorithms.sh:1.5 src/tests/net/ipsec/algorithms.sh:1.6 --- src/tests/net/ipsec/algorithms.sh:1.5 Mon Jul 3 06:01:16 2017 +++ src/tests/net/ipsec/algorithms.sh Fri Oct 27 04:31:50 2017 @@ -1,4 +1,4 @@ -# $NetBSD: algorithms.sh,v 1.5 2017/07/03 06:01:16 ozaki-r Exp $ +# $NetBSD: algorithms.sh,v 1.6 2017/10/27 04:31:50 ozaki-r Exp $ # # Copyright (c) 2017 Internet Initiative Japan Inc. # All rights reserved. @@ -174,7 +174,7 @@ generate_algo_args() local keylen=$(get_one_valid_keylen $algo) local key=$(generate_key $keylen) - if [ $proto = esp ]; then + if [ $proto = esp -o $proto = "esp-udp" ]; then echo "-E $algo $key" elif [ $proto = ah ]; then echo "-A $algo $key"