iproute2: use get_user_hz() for IPv6 print_route

as already done in IPv4 and metrics code part

Signed-off-by: Ulrich Weber <uweber@astaro.com>
This commit is contained in:
Ulrich Weber 2010-07-23 15:37:31 +02:00 committed by Stephen Hemminger
parent 447928279c
commit 2eca8d3d3e
1 changed files with 1 additions and 1 deletions

View File

@ -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]);