diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-04-13 10:34:25 +0200 |
---|---|---|
committer | Stephen Hemminger <shemming@brocade.com> | 2015-04-13 08:50:10 -0700 |
commit | 5a2ce868235cb337a88d2711005eb5972a06e1ac (patch) | |
tree | 23ac35e60788fbaaa87ff5a6c27608564cf87bee /configure | |
parent | 694ed195a0e3e357f1344f7c0d4781945e1fff2b (diff) | |
download | iproute2-5a2ce868235cb337a88d2711005eb5972a06e1ac.tar.gz |
Revert "ip netns: Fix rtnl error while print netns list"
This reverts commit d116ff34145b00db54a37e2a6282dccd8bc08225.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -201,7 +201,7 @@ check_setns() { cat >$TMPDIR/setnstest.c <<EOF #include <sched.h> -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 <<EOF -#include <linux/rtnetlink.h> -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 <<EOF @@ -300,8 +283,6 @@ check_ipt_lib_dir echo -n "libc has setns: " check_setns -echo -n "netns has peer id suport: " -check_netnsid echo -n "SELinux support: " check_selinux |