mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-13 12:16:31 +00:00
ospf6d: fix compilation of debug code
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
b0efbc16e4
commit
0db96688aa
@ -68,9 +68,9 @@ static void ospf6_lsdb_set_key(struct prefix_ipv6 *key, const void *value,
|
||||
#ifdef DEBUG
|
||||
static void _lsdb_count_assert(struct ospf6_lsdb *lsdb)
|
||||
{
|
||||
struct ospf6_lsa *debug;
|
||||
struct ospf6_lsa *debug, *debugnext;
|
||||
unsigned int num = 0;
|
||||
for (ALL_LSDB(lsdb, debug))
|
||||
for (ALL_LSDB(lsdb, debug, debugnext))
|
||||
num++;
|
||||
|
||||
if (num == lsdb->count)
|
||||
@ -78,7 +78,7 @@ static void _lsdb_count_assert(struct ospf6_lsdb *lsdb)
|
||||
|
||||
zlog_debug("PANIC !! lsdb[%p]->count = %d, real = %d", lsdb,
|
||||
lsdb->count, num);
|
||||
for (ALL_LSDB(lsdb, debug))
|
||||
for (ALL_LSDB(lsdb, debug, debugnext))
|
||||
zlog_debug("%s lsdb[%p]", debug->name, debug->lsdb);
|
||||
zlog_debug("DUMP END");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user