git.samba.org
/
socket_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f690f8c
)
tests: Protect IPv6 function in setup_echo_srv_tcp_ipv6
author
Andreas Schneider
<asn@samba.org>
Mon, 5 Nov 2018 07:29:25 +0000
(08:29 +0100)
committer
Andreas Schneider
<asn@samba.org>
Tue, 6 Nov 2018 14:00:35 +0000
(15:00 +0100)
Fixes the build on OmniOS.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/test_echo_tcp_bind.c
patch
|
blob
|
history
diff --git
a/tests/test_echo_tcp_bind.c
b/tests/test_echo_tcp_bind.c
index 796c36211da418d17a2c0757f1f0cb90f8c79466..87183679725d0287bf4a55a33a3932b7f710e962 100644
(file)
--- a/
tests/test_echo_tcp_bind.c
+++ b/
tests/test_echo_tcp_bind.c
@@
-26,12
+26,14
@@
static int setup_echo_srv_tcp_ipv4(void **state)
return 0;
}
+#ifdef HAVE_IPV6
static int setup_echo_srv_tcp_ipv6(void **state)
{
torture_setup_echo_srv_tcp_ipv6(state);
return 0;
}
+#endif
static int teardown(void **state)
{