mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
ospfd: Modify ospf_spf.c to use error-card subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
239697e3b2
commit
668e8a1183
@ -47,6 +47,7 @@
|
|||||||
#include "ospfd/ospf_abr.h"
|
#include "ospfd/ospf_abr.h"
|
||||||
#include "ospfd/ospf_dump.h"
|
#include "ospfd/ospf_dump.h"
|
||||||
#include "ospfd/ospf_sr.h"
|
#include "ospfd/ospf_sr.h"
|
||||||
|
#include "ospfd/ospf_errors.h"
|
||||||
|
|
||||||
/* Variables to ensure a SPF scheduled log message is printed only once */
|
/* Variables to ensure a SPF scheduled log message is printed only once */
|
||||||
|
|
||||||
@ -859,7 +860,8 @@ static void ospf_spf_next(struct vertex *v, struct ospf *ospf,
|
|||||||
zlog_debug("found the LSA");
|
zlog_debug("found the LSA");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
zlog_warn("Invalid LSA link type %d", type);
|
flog_warn(OSPF_WARN_LSA,
|
||||||
|
"Invalid LSA link type %d", type);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user