summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/netlink
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-11-19 18:03:27 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-11-19 18:03:27 +0100
commit01427d3f2b69a4ae1b616b380d4911a132ec450f (patch)
tree3120a959e3c94a1599446a315429dafaca29d12d /sysdep/linux/netlink
parent391931d45686a807d322878d4b3d5c9634e2dbca (diff)
downloadbird-01427d3f2b69a4ae1b616b380d4911a132ec450f.tar
bird-01427d3f2b69a4ae1b616b380d4911a132ec450f.zip
Remove some runaway debug messages and typos.
Diffstat (limited to 'sysdep/linux/netlink')
-rw-r--r--sysdep/linux/netlink/netlink.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 79f7210..25bcadf 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -285,8 +285,6 @@ nl_parse_link(struct nlmsghdr *h, int scan)
u32 mtu;
unsigned int fl;
- debug("nl_parse_link %d\n", new);
-
if (!(i = nl_checkin(h, sizeof(*i))) || !nl_parse_attrs(IFLA_RTA(i), a, sizeof(a)))
return;
if (!a[IFLA_IFNAME] || RTA_PAYLOAD(a[IFLA_IFNAME]) < 2 ||
@@ -299,8 +297,6 @@ nl_parse_link(struct nlmsghdr *h, int scan)
name = RTA_DATA(a[IFLA_IFNAME]);
memcpy(&mtu, RTA_DATA(a[IFLA_MTU]), sizeof(u32));
- debug("nl_parse_link name %s index %d flags %x\n", name, i->ifi_index, i->ifi_flags);
-
ifi = if_find_by_index(i->ifi_index);
if (!new)
{