]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iproute2: use get_user_hz() for IPv6 print_route
authorUlrich Weber <uweber@astaro.com>
Fri, 23 Jul 2010 13:37:31 +0000 (15:37 +0200)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 23 Jul 2010 16:01:01 +0000 (09:01 -0700)
as already done in IPv4 and metrics code part

Signed-off-by: Ulrich Weber <uweber@astaro.com>
ip/iproute.c

index fce7f331e0d01371356478f4833bc6a8126c245b..04b253a40a1959bcdccbe17e843d24c70f7fb213 100644 (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]);