commit | 3eb1731bbd566e369c76a2030b003d751d86941d | [log] [tgz] |
---|---|---|
author | net[shemminger]!shemminger <net[shemminger]!shemminger> | Mon Feb 07 18:28:31 2005 +0000 |
committer | net[shemminger]!shemminger <net[shemminger]!shemminger> | Mon Feb 07 18:28:31 2005 +0000 |
tree | a52311d1ed6b07e64f21a7bee13a001a3102fd69 | |
parent | de136654b2054f1a46edae79657a10e1d96b76d1 [diff] [blame] |
Import patch family_check_when_flushing (Logical change 1.139)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 2dc38b6..8a49a84 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c
@@ -330,6 +330,9 @@ } } + 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) {