summaryrefslogtreecommitdiffstats
path: root/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch')
-rw-r--r--package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch b/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch
new file mode 100644
index 000000000..35c1ac4c3
--- /dev/null
+++ b/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch
@@ -0,0 +1,10 @@
+--- a/ip/iproute.c
++++ b/ip/iproute.c
+@@ -1286,6 +1286,7 @@ int iproute_get(int argc, char **argv)
+ memset(&req, 0, sizeof(req));
+
+ iproute_reset_filter();
++ filter.cloned = 2;
+
+ req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
+ req.n.nlmsg_flags = NLM_F_REQUEST;