diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-12-10 11:38:08 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-12-10 14:23:27 +0100 |
commit | fe78b28f689201617bc8312378f3c7f59239eb1b (patch) | |
tree | 36e1e88a9f2cccf24d0d6f5bfba30585902e3552 /tests/torture.h | |
parent | 88aeb652d94f7f951ca9cd41322202f7f02e8acb (diff) | |
download | socket_wrapper-fe78b28f689201617bc8312378f3c7f59239eb1b.tar.gz socket_wrapper-fe78b28f689201617bc8312378f3c7f59239eb1b.tar.xz socket_wrapper-fe78b28f689201617bc8312378f3c7f59239eb1b.zip |
torture: Add torture_setup_echo_srv_udp_ipv6().
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/torture.h b/tests/torture.h index 19e889f..be2556f 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -44,7 +44,8 @@ #include <string.h> #define TORTURE_ECHO_SRV_IPV4 "127.0.0.10" -#define TORTURE_ECHO_SRV_IPV6 "::10" +/* socket wrapper IPv6 prefix FD00::5357:5Fxx */ +#define TORTURE_ECHO_SRV_IPV6 "FD00::5357:5F10" #define TORTURE_ECHO_SRV_PORT 7 struct torture_state { @@ -58,6 +59,7 @@ struct torture_state { void torture_setup_socket_dir(void **state); void torture_setup_echo_srv_udp_ipv4(void **state); +void torture_setup_echo_srv_udp_ipv6(void **state); void torture_teardown_socket_dir(void **state); void torture_teardown_echo_srv(void **state); |