mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +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:
parent
2a0130f94d
commit
92f8878cbf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user