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:
Tom Herbert 2017-11-22 12:05:33 -08:00 committed by Stephen Hemminger
parent 7b8c436c30
commit d3357cfc7b

View File

@ -79,7 +79,7 @@ static void print_ila_locid(FILE *fp, int attr, struct rtattr *tb[], int space)
int i;
if (tb[attr]) {
blen = print_addr64(rta_getattr_u32(tb[attr]),
blen = print_addr64(rta_getattr_u64(tb[attr]),
abuf, sizeof(abuf));
fprintf(fp, "%s", abuf);
} else {