summaryrefslogtreecommitdiff
path: root/src/test/test_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_connection.h')
-rw-r--r--src/test/test_connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_connection.h b/src/test/test_connection.h
index 40121e6d38..9cf9efb8a4 100644
--- a/src/test/test_connection.h
+++ b/src/test/test_connection.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2019, The Tor Project, Inc. */
+/* Copyright (c) 2014-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#ifndef TOR_TEST_CONNECTION_H
@@ -7,6 +7,7 @@
/** Some constants used by test_connection and helpers */
#define TEST_CONN_FAMILY (AF_INET)
#define TEST_CONN_ADDRESS "127.0.0.1"
+#define TEST_CONN_ADDRESS_2 "127.0.0.2"
#define TEST_CONN_PORT (12345)
#define TEST_CONN_ADDRESS_PORT "127.0.0.1:12345"
#define TEST_CONN_FD_INIT 50