summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-07-16 10:41:29 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-07-16 10:41:29 +0200
commit761702644397886bd3c1be10fd55c01485b7c454 (patch)
tree95d6528cb8bf525145f83799f50acda72a32865d /sysdep/linux
parent26822d8fe1376b2ffd902a3b5caa47f81a88e74e (diff)
parent553e4054609e7aa8dcb92849c92a6fea73354f0e (diff)
Merge commit 'origin/rt-accepted' into rt-accepted
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/netlink/netlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 2b0d7633..182088a1 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -752,11 +752,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])