From: Jens Axboe Date: Sat, 25 Jan 2014 02:59:15 +0000 (-0800) Subject: engine: protect net engine IPv6 support with configure check X-Git-Tag: fio-2.1.5~24 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=eb2323108392e65ab7c4e4c5cbd74a1597b60187;p=fio.git engine: protect net engine IPv6 support with configure check Signed-off-by: Jens Axboe --- diff --git a/engines/net.c b/engines/net.c index 4be106a2..1dc55d5e 100644 --- a/engines/net.c +++ b/engines/net.c @@ -94,18 +94,22 @@ static struct fio_option options[] = { .oval = FIO_TYPE_TCP, .help = "Transmission Control Protocol", }, +#ifdef CONFIG_IPV6 { .ival = "tcpv6", .oval = FIO_TYPE_TCP_V6, .help = "Transmission Control Protocol V6", }, +#endif { .ival = "udp", .oval = FIO_TYPE_UDP, .help = "User Datagram Protocol", }, +#ifdef CONFIG_IPV6 { .ival = "udpv6", .oval = FIO_TYPE_UDP_V6, .help = "User Datagram Protocol V6", }, +#endif { .ival = "unix", .oval = FIO_TYPE_UNIX, .help = "UNIX domain socket",