1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-07 15:56:27 +03:00
openwrt-xburst/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch

11 lines
275 B
Diff
Raw Normal View History

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