From 0d858128c2d4f1c4a404b2cb3e35f9ba1fdce7e1 Mon Sep 17 00:00:00 2001 From: ozaki-r Date: Fri, 27 Oct 2017 04:31:50 +0000 Subject: [PATCH] Handle esp-udp for NAT-T --- tests/net/ipsec/algorithms.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/net/ipsec/algorithms.sh b/tests/net/ipsec/algorithms.sh index e1f857870290..a91bf7cc494f 100644 --- a/tests/net/ipsec/algorithms.sh +++ b/tests/net/ipsec/algorithms.sh @@ -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"