summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-08-26 22:01:03 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-08-26 22:01:03 +0000
commit316cb337959e53da63b3117884b226ec8c597b0c (patch)
treebea9934761f02ff819385be9600c02c562090762 /tests/mysql_client_test.c
parentf93d5d927e3366bd03cf6cc229e2a1203d48a9d8 (diff)
downloadmariadb-git-316cb337959e53da63b3117884b226ec8c597b0c.tar.gz
In test_proxy_header(), use IP address 192.0.2.1 .mariadb-10.3.1
This address is from reserved range (rfc5737), and this ensures that DNS won't resolve it into a name
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c4
1 files 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();
}