mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-19 05:30:55 +00:00
ila: Fix reporting of ILA locators and locator match
Fix retrieval of locator value for RTA to get 64 bits instead of 32. Signed-off-by: Tom Herbert <tom@quantonium.net>
This commit is contained in:
parent
7b8c436c30
commit
d3357cfc7b
@ -79,7 +79,7 @@ static void print_ila_locid(FILE *fp, int attr, struct rtattr *tb[], int space)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (tb[attr]) {
|
if (tb[attr]) {
|
||||||
blen = print_addr64(rta_getattr_u32(tb[attr]),
|
blen = print_addr64(rta_getattr_u64(tb[attr]),
|
||||||
abuf, sizeof(abuf));
|
abuf, sizeof(abuf));
|
||||||
fprintf(fp, "%s", abuf);
|
fprintf(fp, "%s", abuf);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user