From 45d5fe7c2aa0d6e08f19dc9eacd50314530958fd Mon Sep 17 00:00:00 2001 From: startx2017 Date: Thu, 26 Jul 2018 09:58:50 -0400 Subject: removed compile time --enable-network=restricted, --net=none allowed even if networking was disabled at compile time or at run time, fixed issue #2061 --- configure.ac | 5 ----- 1 file changed, 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c5243ed55..253749cd5 100644 --- a/configure.ac +++ b/configure.ac @@ -102,13 +102,8 @@ AS_IF([test "x$enable_globalcfg" != "xno"], [ HAVE_NETWORK="" AC_ARG_ENABLE([network], AS_HELP_STRING([--disable-network], [disable network])) -AC_ARG_ENABLE([network], - AS_HELP_STRING([--enable-network=restricted], [ restrict --net= to root only])) AS_IF([test "x$enable_network" != "xno"], [ HAVE_NETWORK="-DHAVE_NETWORK" - AS_IF([test "x$enable_network" = "xrestricted"], [ - HAVE_NETWORK="$HAVE_NETWORK -DHAVE_NETWORK_RESTRICTED" - ]) AC_SUBST(HAVE_NETWORK) ]) -- cgit v1.2.3-70-g09d2