diff options
| author | ßingen <bingen@voltanet.io> | 2017-08-01 11:34:15 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-09 12:07:34 +0200 |
| commit | c811f101e701ece749bfa50cf8bc5a03183e56b2 (patch) | |
| tree | 970f8c45ea1368bd057cbe1e5c6bbd9c344bafaf | |
| parent | 6e4762e1cca9888ce8e6baaf29ea8f191635fc6a (diff) | |
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>
| -rw-r--r-- | ospf6d/ospf6_lsdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
