DORMANTno replies

[PATCH] iproute2: use get_user_hz() for IPv6 print_route

From: Ulrich Weber <hidden>
Date: 2010-07-23 13:41:42
Subsystem: the rest · Maintainer: Linus Torvalds

as already done in IPv4 and metrics code part

Signed-off-by: Ulrich Weber <redacted>
---
 ip/iproute.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ip/iproute.c b/ip/iproute.c
index fce7f33..04b253a 100644
--- a/ip/iproute.c
+++ b/ip/iproute.c
@@ -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]);
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help