From 287585d61a82c2c7470ef7059e38d1eb407dacd7 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Fri, 19 Jul 2019 22:55:03 +0800 Subject: [PATCH] server: hide ipv6 option if not suppored by lws --- src/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server.c b/src/server.c index 260fb2a..e770a26 100644 --- a/src/server.c +++ b/src/server.c @@ -85,7 +85,9 @@ void print_help() { " -o, --once Accept only one client and exit on disconnection\n" " -B, --browser Open terminal with the default system browser\n" " -I, --index Custom index.html path\n" +#ifdef LWS_WITH_IPV6 " -6, --ipv6 Enable IPv6 support\n" +#endif " -S, --ssl Enable SSL\n" " -C, --ssl-cert SSL certificate file path\n" " -K, --ssl-key SSL key file path\n" -- 2.43.4