11 lines
275 B
Diff
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;
|