mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Fixes a bug related to multiple IPs and direct protocol.
Multiple IPs in the same IP prefix confuse the direct protocol and could cause withdrawal of a valid prefix. Thanks to Dan Rimal for a bugreport.
This commit is contained in:
@ -34,6 +34,9 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad)
|
||||
/* Empty list is automagically treated as "*" */
|
||||
return;
|
||||
|
||||
if (ad->flags & IA_SECONDARY)
|
||||
return;
|
||||
|
||||
if (ad->scope <= SCOPE_LINK)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user