35c1ac4c31561d8df3defd46b75871e73a421c08
[openwrt.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;