This patch set breaks up the big print_route function into smaller pieces for readability and to make later changes to support JSON and color output easier.
Stephen Hemminger (9): iproute: refactor printing flags iproute: make printing icmpv6 a function iproute: make printing IPv4 cache flags a function iproute: refactor cacheinfo printing iproute: refactor metrics print iproute: refactor printing flow info iproute: refactor newdst, gateway and via printing iproute: refactor multipath print iproute: refactor printing of interface ip/iproute.c | 571 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 297 insertions(+), 274 deletions(-) -- 2.15.1