mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 17:36:36 +00:00
ospf6d: Stop debug messages happening in rare case
When we have a interface disabled in ospfv3 and we are receiving messages on it. We will spam the log file repeatedly. Debug guard the message. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
2cdb3adfee
commit
e4c42d655a
@ -1573,7 +1573,8 @@ int ospf6_receive(struct thread *thread)
|
||||
oi = ospf6_interface_lookup_by_ifindex(ifindex);
|
||||
if (oi == NULL || oi->area == NULL
|
||||
|| CHECK_FLAG(oi->flag, OSPF6_INTERFACE_DISABLE)) {
|
||||
zlog_debug("Message received on disabled interface");
|
||||
if (IS_OSPF6_DEBUG_MESSAGE(OSPF6_MESSAGE_TYPE_UNKNOWN, RECV))
|
||||
zlog_debug("Message received on disabled interface");
|
||||
return 0;
|
||||
}
|
||||
if (CHECK_FLAG(oi->flag, OSPF6_INTERFACE_PASSIVE)) {
|
||||
|
Loading…
Reference in New Issue
Block a user