]> git.proxmox.com Git - mirror_iproute2.git/commit
fix print_0xhex on 32 bit
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Dec 2018 22:20:32 +0000 (14:20 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Dec 2018 22:20:32 +0000 (14:20 -0800)
commit90c5c969f0b9a2fbb0016b955fecc359aa884220
tree2fca3289de773cd609bda327d915e4bd90820930
parent33fde2b60081ed9ac16f7dd81c48233803855689
fix print_0xhex on 32 bit

The argument to print_0xhex is converted to unsigned long long
so the format string give for normal printout has to be some
variant of %llx. Otherwise, bogus values will be printed on
32 bit platforms.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
20 files changed:
bridge/link.c
ip/ipaddress.c
ip/iplink_bridge.c
ip/iplink_bridge_slave.c
ip/iplink_geneve.c
ip/iplink_vxlan.c
ip/ipntable.c
ip/iproute.c
ip/iproute_lwtunnel.c
ip/iprule.c
ip/iptuntap.c
ip/link_gre.c
ip/link_gre6.c
ip/link_ip6tnl.c
ip/link_iptnl.c
ip/link_vti.c
ip/link_vti6.c
tc/m_ife.c
tc/q_htb.c
tc/q_taprio.c