summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-05-04 23:05:47 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-05-11 12:10:21 +0200
commit47c447c42e0bfa1836d951d1e6c1a2236d39dcbb (patch)
tree4bf10914440cb7d2df02fcfa7f7c2733a582cd6e /nest
parent95616c820248018f4999972cad315f2da60e4960 (diff)
Minor cleanups.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-table.c5
1 files changed, 1 insertions, 4 deletions
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)