Source-Changes-HG archive

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

[src/trunk]: src/tests/net/ipsec Handle esp-udp for NAT-T



details:   https://anonhg.NetBSD.org/src/rev/c3b4e07c496d
branches:  trunk
changeset: 827408:c3b4e07c496d
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Oct 27 04:31:50 2017 +0000

description:
Handle esp-udp for NAT-T

diffstat:

 tests/net/ipsec/algorithms.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ecf9bde7b8e9 -r c3b4e07c496d tests/net/ipsec/algorithms.sh
--- a/tests/net/ipsec/algorithms.sh     Fri Oct 27 04:05:21 2017 +0000
+++ b/tests/net/ipsec/algorithms.sh     Fri Oct 27 04:31:50 2017 +0000
@@ -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 @@
        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"



Home | Main Index | Thread Index | Old Index