0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Merge commit 'origin/rt-accepted' into rt-accepted

This commit is contained in:
Ondrej Zajicek 2012-07-16 10:41:29 +02:00
commit 7617026443

View File

@ -752,11 +752,11 @@ nl_parse_route(struct nlmsghdr *h, int scan)
if (a[RTA_OIF]) if (a[RTA_OIF])
memcpy(&oif, RTA_DATA(a[RTA_OIF]), sizeof(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? */ 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) if (!p)
SKIP("unknown table %d", i->rtm_table); SKIP("unknown table %d\n", i->rtm_table);
#ifdef IPV6 #ifdef IPV6
if (a[RTA_IIF]) if (a[RTA_IIF])