]>
Commit | Line | Data |
---|---|---|
47fff01d AO |
1 | diff -ruNp iproute2-4.2.0.orig/ip/iproute.c iproute2-4.2.0/ip/iproute.c |
2 | --- iproute2-4.2.0.orig/ip/iproute.c 2015-09-01 01:31:15.000000000 +0200 | |
3 | +++ iproute2-4.2.0/ip/iproute.c 2015-10-12 12:06:37.710674199 +0200 | |
4 | @@ -331,6 +331,9 @@ int print_route(const struct sockaddr_nl | |
5 | if (!filter_nlmsg(n, tb, host_len)) | |
6 | return 0; | |
7 | ||
8 | + if ((r->rtm_flags & RTM_F_CLONED && !filter.cloned) || (!(r->rtm_flags & RTM_F_CLONED) && filter.cloned)) | |
9 | + return 0; | |
10 | + | |
11 | if (filter.flushb) { | |
12 | struct nlmsghdr *fn; | |
13 | if (NLMSG_ALIGN(filter.flushp) + n->nlmsg_len > filter.flushe) { |