Merge branch 'master' into net-next
This commit is contained in:
commit
19beb1aa16
|
|
@ -677,6 +677,7 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
|
||||||
fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex));
|
fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex));
|
||||||
if (nh->rtnh_hops != 1)
|
if (nh->rtnh_hops != 1)
|
||||||
fprintf(fp, "(ttl>%d)", nh->rtnh_hops);
|
fprintf(fp, "(ttl>%d)", nh->rtnh_hops);
|
||||||
|
fprintf(fp, " ");
|
||||||
} else {
|
} else {
|
||||||
fprintf(fp, "dev %s ", ll_index_to_name(nh->rtnh_ifindex));
|
fprintf(fp, "dev %s ", ll_index_to_name(nh->rtnh_ifindex));
|
||||||
if (r->rtm_family != AF_MPLS)
|
if (r->rtm_family != AF_MPLS)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue