diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-09-03 10:47:43 +0200 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-09-24 15:26:45 +0100 |
commit | 04a3aabf58d95d01c4c8168eeff43cf9d9892eee (patch) | |
tree | c810fdc3ff48d185bb34ce73e986a2c88da3780f /lib/plist.c | |
parent | 0bc874b88cf86fca4b18f3672a441ed142fc499d (diff) | |
download | quagga-04a3aabf58d95d01c4c8168eeff43cf9d9892eee.tar.bz2 quagga-04a3aabf58d95d01c4c8168eeff43cf9d9892eee.tar.xz |
vrf: add a runtime check before playing with netns
This patch adds a runtime check to determine if netns are available. Some
systems like OpenWRT have the system call setns() but don't have the kernel
option CONFIG_NET_NS enabled.
Reported-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Tested-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions