Commit f22b6eba authored by 8!tgraf's avatar 8!tgraf

tb buffer initialization is now done in the parser

(Logical change 1.129)
parent ac2fc2df
......@@ -96,7 +96,6 @@ static int get_nlmsg(const struct sockaddr_nl *who,
if (!(ifi->ifi_flags&IFF_UP))
return 0;
memset(tb, 0, sizeof(tb));
parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len);
if (tb[IFLA_IFNAME] == NULL || tb[IFLA_STATS] == NULL)
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment