From: ßingen Date: Tue, 1 Aug 2017 09:34:15 +0000 (+0200) Subject: ospf6: Fix DEBUG compiling error X-Git-Tag: frr-4.0-dev~439^2~12 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c811f101e701ece749bfa50cf8bc5a03183e56b2;p=matthieu%2Ffrr.git 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 --- diff --git a/ospf6d/ospf6_lsdb.c b/ospf6d/ospf6_lsdb.c index 8764a549d2..418f858a32 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);