From f22b6eba67a340ab57425b6174b3d85f271e2304 Mon Sep 17 00:00:00 2001 From: 8!tgraf <8!tgraf> Date: Tue, 18 Jan 2005 22:11:58 +0000 Subject: [PATCH] tb buffer initialization is now done in the parser (Logical change 1.129) --- misc/ifstat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/ifstat.c b/misc/ifstat.c index 19b1ff51..1379a811 100644 --- a/misc/ifstat.c +++ b/misc/ifstat.c @@ -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;