Commit 2eca8d3d authored by Ulrich Weber's avatar Ulrich Weber Committed by Stephen Hemminger

iproute2: use get_user_hz() for IPv6 print_route

as already done in IPv4 and metrics code part
Signed-off-by: default avatarUlrich Weber <uweber@astaro.com>
parent 44792827
...@@ -482,7 +482,7 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) ...@@ -482,7 +482,7 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
if (mxrta[i] == NULL) if (mxrta[i] == NULL)
continue; continue;
if (!hz) if (!hz)
hz = get_hz(); hz = get_user_hz();
if (i < sizeof(mx_names)/sizeof(char*) && mx_names[i]) if (i < sizeof(mx_names)/sizeof(char*) && mx_names[i])
fprintf(fp, " %s", mx_names[i]); fprintf(fp, " %s", mx_names[i]);
......
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