diff options
Diffstat (limited to 'package/network/utils/iproute2/patches/960-ipmonitor-fix-ip-monitor-can-t-work-when-NET_NS-is-n.patch')
-rw-r--r-- | package/network/utils/iproute2/patches/960-ipmonitor-fix-ip-monitor-can-t-work-when-NET_NS-is-n.patch | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/package/network/utils/iproute2/patches/960-ipmonitor-fix-ip-monitor-can-t-work-when-NET_NS-is-n.patch b/package/network/utils/iproute2/patches/960-ipmonitor-fix-ip-monitor-can-t-work-when-NET_NS-is-n.patch index 52be021e72..610fb525ae 100644 --- a/package/network/utils/iproute2/patches/960-ipmonitor-fix-ip-monitor-can-t-work-when-NET_NS-is-n.patch +++ b/package/network/utils/iproute2/patches/960-ipmonitor-fix-ip-monitor-can-t-work-when-NET_NS-is-n.patch @@ -20,12 +20,10 @@ Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> ip/ipnetns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/ip/ipnetns.c b/ip/ipnetns.c -index af87065..ccc652c 100644 --- a/ip/ipnetns.c +++ b/ip/ipnetns.c -@@ -72,8 +72,8 @@ static int ipnetns_have_nsid(void) - if (have_rtnl_getnsid < 0) { +@@ -73,8 +73,8 @@ static int ipnetns_have_nsid(void) + fd = open("/proc/self/ns/net", O_RDONLY); if (fd < 0) { - perror("open(\"/proc/self/ns/net\")"); @@ -35,6 +33,3 @@ index af87065..ccc652c 100644 } addattr32(&req.n, 1024, NETNSA_FD, fd); --- -2.6.4 - |