tb buffer initialization is now done in the parser

(Logical change 1.129)
This commit is contained in:
8!tgraf 2005-01-18 22:11:58 +00:00
parent ac2fc2df5e
commit f22b6eba67
1 changed files with 0 additions and 1 deletions

View File

@ -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;