iproute2: use get_user_hz() for IPv6 print_route
Subsystems (2)
PATCH 1/1 iproute2: use get_user_hz() for IPv6 print_route
as already done in IPv4 and metrics code part
Signed-off-by Ulrich Weber <[email protected]>
--- ip/iproute.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
ip/iproute.c +1 -1
@@ -482,7 +482,7 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)if (mxrta[i] ==NULL )continue ;if (!hz) - hz =get_hz (); + hz =get_user_hz ();if (i <sizeof (mx_names)/sizeof (char *) && mx_names[i])fprintf (fp," %s" , mx_names[i]);
Signature · 1 line
1.7.0.4