From 316cb337959e53da63b3117884b226ec8c597b0c Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sat, 26 Aug 2017 22:01:03 +0000 Subject: [PATCH] In test_proxy_header(), use IP address 192.0.2.1 . This address is from reserved range (rfc5737), and this ensures that DNS won't resolve it into a name --- tests/mysql_client_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 66c767cf238..ae371745c97 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -19805,9 +19805,9 @@ static void test_proxy_header_ignore() static void test_proxy_header() { - test_proxy_header_tcp("127.0.0.2",3333); + test_proxy_header_tcp("192.0.2.1",3333); test_proxy_header_tcp("2001:db8:85a3::8a2e:370:7334",2222); - test_proxy_header_tcp("::ffff:127.0.0.2",2222); + test_proxy_header_tcp("::ffff:192.0.2.1",2222); test_proxy_header_localhost(); test_proxy_header_ignore(); }