diff options
author | Ondrej Filip <feela@network.cz> | 2012-04-19 17:12:13 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2012-04-19 17:12:13 +0200 |
commit | 553e4054609e7aa8dcb92849c92a6fea73354f0e (patch) | |
tree | 6de507e1ecf815b12210b06424a410b03212b755 | |
parent | 3e17e380598b9a512bb369f51a4cf55da269f608 (diff) |
Small clean up in debug texts
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index c8eed0f3..d9d22d4c 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -756,11 +756,11 @@ nl_parse_route(struct nlmsghdr *h, int scan) if (a[RTA_OIF]) memcpy(&oif, RTA_DATA(a[RTA_OIF]), sizeof(oif)); - DBG("KRT: Got %I/%d, type=%d, oif=%d, table=%d, prid=%d, proto=%s\n", dst, i->rtm_dst_len, i->rtm_type, oif, i->rtm_table, i->rtm_protocol, p->p.name); - p = nl_table_map[i->rtm_table]; /* Do we know this table? */ + DBG("KRT: Got %I/%d, type=%d, oif=%d, table=%d, prid=%d, proto=%s\n", dst, i->rtm_dst_len, i->rtm_type, oif, i->rtm_table, i->rtm_protocol, p ? p->p.name : "(none)"); if (!p) - SKIP("unknown table %d", i->rtm_table); + SKIP("unknown table %d\n", i->rtm_table); + #ifdef IPV6 if (a[RTA_IIF]) |