From 47c447c42e0bfa1836d951d1e6c1a2236d39dcbb Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 4 May 2012 23:05:47 +0200 Subject: Minor cleanups. --- nest/rt-table.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nest') diff --git a/nest/rt-table.c b/nest/rt-table.c index bb0ee4c8..fdc767e7 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -799,10 +799,7 @@ void rte_dump(rte *e) { net *n = e->net; - if (n) - debug("%-1I/%2d ", n->n.prefix, n->n.pxlen); - else - debug("??? "); + debug("%-1I/%2d ", n->n.prefix, n->n.pxlen); debug("KF=%02x PF=%02x pref=%d lm=%d ", n->n.flags, e->pflags, e->pref, now-e->lastmod); rta_dump(e->attrs); if (e->attrs->proto->proto->dump_attrs) -- cgit v1.2.3