Fix retrieval of locator value for RTA to get 64 bits instead of 32.

Signed-off-by: Tom Herbert <t...@quantonium.net>
---
 ip/ipila.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ip/ipila.c b/ip/ipila.c
index 0403fc42..fe5c4d8b 100644
--- a/ip/ipila.c
+++ b/ip/ipila.c
@@ -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 {
-- 
2.11.0

Reply via email to