summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_lsdb.c
diff options
context:
space:
mode:
authorßingen <bingen@voltanet.io>2017-08-01 11:34:15 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-09 12:07:34 +0200
commitc811f101e701ece749bfa50cf8bc5a03183e56b2 (patch)
tree970f8c45ea1368bd057cbe1e5c6bbd9c344bafaf /ospf6d/ospf6_lsdb.c
parentldpd: fix bug with dual-stack neighbors (diff)
downloadfrr-c811f101e701ece749bfa50cf8bc5a03183e56b2.tar.xz
frr-c811f101e701ece749bfa50cf8bc5a03183e56b2.zip
ospf6: Fix DEBUG compiling error
struct ospf6_lsa doesn't have next nor prev, so it was raising a compiling error if DEBUG is set. Signed-off-by: ßingen <bingen@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_lsdb.c')
-rw-r--r--ospf6d/ospf6_lsdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospf6d/ospf6_lsdb.c b/ospf6d/ospf6_lsdb.c
index 8764a549d..418f858a3 100644
--- a/ospf6d/ospf6_lsdb.c
+++ b/ospf6d/ospf6_lsdb.c
@@ -83,8 +83,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))
- zlog_debug("%p %p %s lsdb[%p]", debug->prev, debug->next,
- debug->name, debug->lsdb);
+ zlog_debug("%s lsdb[%p]", debug->name, debug->lsdb);
zlog_debug("DUMP END");
assert(num == lsdb->count);