]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/iplink_geneve.c
f_flower: fix build with musl libc
[mirror_iproute2.git] / ip / iplink_geneve.c
index 1872b74c5d701170869af966ac9b331614a9501f..278a6e23b311a629eaeadd2c40c593d5c60a8ef8 100644 (file)
@@ -300,7 +300,7 @@ static void geneve_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
                tos = rta_getattr_u8(tb[IFLA_GENEVE_TOS]);
        if (tos) {
                if (is_json_context() || tos != 1)
-                       print_0xhex(PRINT_ANY, "tos", "tos 0x%x ", tos);
+                       print_0xhex(PRINT_ANY, "tos", "tos %#llx ", tos);
                else
                        print_string(PRINT_FP, NULL, "tos %s ", "inherit");
        }
@@ -321,8 +321,7 @@ static void geneve_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
 
                if (label)
                        print_0xhex(PRINT_ANY,
-                                   "label",
-                                   "flowlabel %#x ",
+                                   "label", "flowlabel %#llx ",
                                    ntohl(label));
        }