Codebase list libndp / 778d7b3
ndptool: don't use static variable for local context in msgrcv_handler_func() ndptool is single threaded, so this isn't an actual issue. But it's ugly and unnecessary. Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Jiri Pirko <jiri@nvidia.com> Thomas Haller authored 3 years ago Jiri Pirko committed 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
277277 pr_out("\n");
278278 }
279279 ndp_msg_opt_for_each_offset(offset, msg, NDP_MSG_OPT_RDNSS) {
280 static struct in6_addr *addr;
280 struct in6_addr *addr;
281281 int addr_index;
282282
283283 pr_out(" Recursive DNS Servers: ");