diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-02 20:29:22 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-02 20:29:22 +0000 |
commit | fab3a85d30350bbaa65e938f39b66e06e614af22 (patch) | |
tree | 80dba4c33638060a979fd39a345ae83f532d23a6 /package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch | |
parent | db07bdac3e8af612806c4cd7d4a4e46315d9ac4b (diff) |
[package] iproute2: dont filter cached routes on iproute_get (#8339)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24216 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 10 |
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; |