[package] iproute2: dont filter cached routes on iproute_get (#8339)
[openwrt/svn-archive/archive.git] / package / iproute2 / patches / 003-iproute2-get_dont_filter_cached.patch
1 --- a/ip/iproute.c
2 +++ b/ip/iproute.c
3 @@ -1286,6 +1286,7 @@ int iproute_get(int argc, char **argv)
4 memset(&req, 0, sizeof(req));
5
6 iproute_reset_filter();
7 + filter.cloned = 2;
8
9 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
10 req.n.nlmsg_flags = NLM_F_REQUEST;