mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-01 19:31:14 +00:00
ospfd: Interface 'ip ospf neighbor-filter' startup config not applied.
When 'ip ospf neighbor-filter <filter-name>' is configured in the startup
configuration, it is in the running configuration but not applied on the
interface.
Signed-off-by: Acee Lindem <acee@lindem.com>
(cherry picked from commit 77de5eeb80
)
This commit is contained in:
parent
a4c96c6a58
commit
0c8ef89d2f
@ -1098,6 +1098,15 @@ struct ospf_interface *add_ospf_interface(struct connected *co,
|
||||
oi->p2mp_delay_reflood = IF_DEF_PARAMS(co->ifp)->p2mp_delay_reflood;
|
||||
oi->p2mp_non_broadcast = IF_DEF_PARAMS(co->ifp)->p2mp_non_broadcast;
|
||||
|
||||
/*
|
||||
* If a neighbor filter is configured, update the neighbor filter
|
||||
* for the interface.
|
||||
*/
|
||||
if (OSPF_IF_PARAM_CONFIGURED(IF_DEF_PARAMS(co->ifp), nbr_filter_name))
|
||||
oi->nbr_filter = prefix_list_lookup(AFI_IP,
|
||||
IF_DEF_PARAMS(co->ifp)
|
||||
->nbr_filter_name);
|
||||
|
||||
/* Add pseudo neighbor. */
|
||||
ospf_nbr_self_reset(oi, oi->ospf->router_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user