mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
A change in OSPF and RIP interface patterns.
Allows to add more interface patterns to one common 'options'
section like:
interface "eth3", "eth4" { options common to eth3 and eth4 };
Also removes undocumented and unnecessary ability to specify
more interface patterns with different 'options' sections:
interface "eth3" { options ... }, "eth4" { options ... };
This commit is contained in:
@@ -30,7 +30,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad)
|
||||
struct rt_dev_config *P = (void *) p->cf;
|
||||
|
||||
if (!EMPTY_LIST(P->iface_list) &&
|
||||
!iface_patt_match(&P->iface_list, ad->iface))
|
||||
!iface_patt_find(&P->iface_list, ad->iface))
|
||||
/* Empty list is automagically treated as "*" */
|
||||
return;
|
||||
if (c & IF_CHANGE_DOWN)
|
||||
|
||||
Reference in New Issue
Block a user