Skip to contentSkip to conversation

iproute2: use get_user_hz() for IPv6 print_route

PATCH New Ulrich Weber 1 participant 1 message Jul 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iproute2: use get_user_hz() for IPv6 print_route

as already done in IPv4 and metrics code part

---
 ip/iproute.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
ip/iproute.c +1 -1
index fce7f33..04b253a 100644
@@ -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