Commit ca96957c authored by 2!tgraf's avatar 2!tgraf

tb buffer initialization is now done in the parser

(Logical change 1.129)
parent 78934000
...@@ -67,7 +67,6 @@ int print_prefix(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) ...@@ -67,7 +67,6 @@ int print_prefix(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
return 0; return 0;
} }
memset(tb, 0, sizeof(tb));
parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len);
fprintf(fp, "prefix "); fprintf(fp, "prefix ");
......
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