summaryrefslogtreecommitdiffstats
path: root/package/iproute2/patches/003-iproute2-get_dont_filter_cached.patch
blob: 35c1ac4c31561d8df3defd46b75871e73a421c08 (plain)
1
2
3
4
5
6
7
8
9
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;