]>
Commit | Line | Data |
---|---|---|
d5598cce MT |
1 | diff --git a/ip/iproute.c b/ip/iproute.c |
2 | index 711576e..86c7ab7 100644 | |
3 | --- a/ip/iproute.c | |
4 | +++ b/ip/iproute.c | |
5 | @@ -160,7 +160,7 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) | |
6 | if (r->rtm_family == AF_INET6 && table != RT_TABLE_MAIN) | |
7 | ip6_multiple_tables = 1; | |
8 | ||
9 | - if (filter.cloned == !(r->rtm_flags&RTM_F_CLONED)) | |
10 | + if (filter.cloned && !(r->rtm_flags&RTM_F_CLONED)) | |
11 | return 0; | |
12 | ||
13 | if (r->rtm_family == AF_INET6 && !ip6_multiple_tables) { |