1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-25 09:26:15 +03:00
openwrt-xburst/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch
jow fab3a85d30 [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
2010-12-02 20:29:22 +00:00

11 lines
275 B
Diff

--- 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;