]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
tb buffer initialization is now done in the parser
author2!tgraf <2!tgraf>
Tue, 18 Jan 2005 22:11:58 +0000 (22:11 +0000)
committer2!tgraf <2!tgraf>
Tue, 18 Jan 2005 22:11:58 +0000 (22:11 +0000)
(Logical change 1.129)

ip/ipprefix.c

index 6fd39afce37e1a4c6d3fb135bf459c7a33041b02..61d12f911818b55bd36e8b7a509abc4879c37973 100644 (file)
@@ -67,7 +67,6 @@ int print_prefix(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
                return 0;
        }
 
-       memset(tb, 0, sizeof(tb));
        parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len);
 
        fprintf(fp, "prefix ");