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

This commit is contained in:
Tobias Brunner
2013-07-17 17:45:18 +02:00
parent b308a97944
commit fae4d67adc
@@ -665,8 +665,9 @@ static void process_addr(private_kernel_pfroute_net_t *this,
} }
enumerator->destroy(enumerator); enumerator->destroy(enumerator);
if (!host) if (!host || host->is_anyaddr(host))
{ {
DESTROY_IF(host);
return; return;
} }