kernel-pfroute: Ignore IP address changes if address is %any

This commit is contained in:
Tobias Brunner 2013-07-10 16:28:55 +02:00
parent b308a97944
commit fae4d67adc
1 changed files with 2 additions and 1 deletions

View File

@ -665,8 +665,9 @@ static void process_addr(private_kernel_pfroute_net_t *this,
}
enumerator->destroy(enumerator);
if (!host)
if (!host || host->is_anyaddr(host))
{
DESTROY_IF(host);
return;
}