]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6: Fix DEBUG compiling error
authorßingen <bingen@voltanet.io>
Tue, 1 Aug 2017 09:34:15 +0000 (11:34 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 9 Aug 2017 10:07:34 +0000 (12:07 +0200)
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>
ospf6d/ospf6_lsdb.c

index 8764a549d2572f084762198d007bdcb240e71f4e..418f858a3256a6684b240248a00d404289864fd7 100644 (file)
@@ -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);