]> git.proxmox.com Git - mirror_iproute2.git/commit
ip: Use print_0xhex() where appropriate
authorSerhey Popovych <serhe.popovych@gmail.com>
Thu, 8 Feb 2018 16:04:05 +0000 (18:04 +0200)
committerDavid Ahern <dsahern@gmail.com>
Fri, 9 Feb 2018 16:05:30 +0000 (08:05 -0800)
commitdb2b8b6ef0a27480deb7329f888fa5218fe67907
treed717a53ad76709ac6293256e136f7adc53e9e1fb
parent5bd937957db08e66ac6129b5dc42c8740bd1da64
ip: Use print_0xhex() where appropriate

In gre/gre6 for non-JSON output 0x%x format is used: use print_0xhex()
to get the same value for JSON.

Get rid of custom _print_hex() in bridge slave code: print_0xhex() can
be used perfectly.

Break long print_uint() with long argument list to fit into 80 columns.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/iplink_bridge_slave.c
ip/link_gre.c
ip/link_gre6.c