From: Nicolas Dichtel Date: Mon, 13 Apr 2015 08:34:25 +0000 (+0200) Subject: Revert "ip netns: Fix rtnl error while print netns list" X-Git-Tag: v4.0.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2ce868235cb337a88d2711005eb5972a06e1ac;p=thirdparty%2Fiproute2.git Revert "ip netns: Fix rtnl error while print netns list" This reverts commit d116ff34145b00db54a37e2a6282dccd8bc08225. Signed-off-by: Nicolas Dichtel --- diff --git a/configure b/configure index 631938e97..c3dacdba1 100755 --- a/configure +++ b/configure @@ -201,7 +201,7 @@ check_setns() { cat >$TMPDIR/setnstest.c < -int main(int argc, char **argv) +int main(int argc, char **argv) { (void)setns(0,0); return 0; @@ -218,23 +218,6 @@ EOF rm -f $TMPDIR/setnstest.c $TMPDIR/setnstest } -check_netnsid() -{ - cat >$TMPDIR/netnsid.c < -int test_def = RTM_GETNSID; -EOF - $CC -c $TMPDIR/netnsid.c >/dev/null 2>&1 - if [ $? -eq 0 ] - then - echo "IP_CONFIG_NETNSID:=y" >> Config - echo "yes" - else - echo "no" - fi - rm -f $TMPDIR/netnsid.c $TMPDIR/netnsid.o -} - check_ipset() { cat >$TMPDIR/ipsettest.c <