mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 00:13:40 +00:00
ospfd: Fix warn -> debug for neighbor add
If we detect we already have a neighbor, no need to re-add so no need to warn since we do not do anything with the data. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
13ab4921b1
commit
ed59abd5c7
@ -269,9 +269,10 @@ void ospf_nbr_add_self(struct ospf_interface *oi, struct in_addr router_id)
|
||||
rn = route_node_get(oi->nbrs, &p);
|
||||
if (rn->info) {
|
||||
/* There is already pseudo neighbor. */
|
||||
zlog_warn(
|
||||
"router_id %s already present in neighbor table. node refcount %u",
|
||||
inet_ntoa(router_id), rn->lock);
|
||||
if (IS_DEBUG_OSPF_EVENT)
|
||||
zlog_debug(
|
||||
"router_id %s already present in neighbor table. node refcount %u",
|
||||
inet_ntoa(router_id), rn->lock);
|
||||
route_unlock_node(rn);
|
||||
} else
|
||||
rn->info = oi->nbr_self;
|
||||
|
Loading…
Reference in New Issue
Block a user