Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9078 lnet: Fix route hops print
[fs/lustre-release.git]
/
lnet
/
utils
/
lnetconfig
/
liblnetconfig.c
diff --git
a/lnet/utils/lnetconfig/liblnetconfig.c
b/lnet/utils/lnetconfig/liblnetconfig.c
index
6aaa1a0
..
37d254c
100644
(file)
--- a/
lnet/utils/lnetconfig/liblnetconfig.c
+++ b/
lnet/utils/lnetconfig/liblnetconfig.c
@@
-807,8
+807,8
@@
int lustre_lnet_show_route(char *nw, char *gw, int hops, int prio, int detail,
if (detail) {
if (cYAML_create_number(item, "hop",
-
data.cfg_config_u.cfg_route
.
-
rtr_hop) ==
+
(int) data.cfg_config_u
.
+
cfg_route.
rtr_hop) ==
NULL)
goto out;