Import patch family_check_when_flushing

(Logical change 1.139)
This commit is contained in:
net[shemminger]!shemminger 2005-02-07 18:28:31 +00:00
parent de136654b2
commit 3eb1731bbd
1 changed files with 3 additions and 0 deletions

View File

@ -330,6 +330,9 @@ int print_addrinfo(const struct sockaddr_nl *who, struct nlmsghdr *n,
}
}
if (filter.family && filter.family != ifa->ifa_family)
return 0;
if (filter.flushb) {
struct nlmsghdr *fn;
if (NLMSG_ALIGN(filter.flushp) + n->nlmsg_len > filter.flushe) {