]> git.proxmox.com Git - mirror_iproute2.git/commit
iproute: refactor newdst, gateway and via printing
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 7 Feb 2018 17:10:15 +0000 (09:10 -0800)
committerDavid Ahern <dsahern@gmail.com>
Thu, 8 Feb 2018 00:08:34 +0000 (16:08 -0800)
commita3484a9f209b189e2854fcbc7e77203a6c172bc3
tree892d823f6d14bd3a281bf7864a8f4bd3bcf1cf70
parent5782965a1e95cc558dd49176597aa0a911ae0882
iproute: refactor newdst, gateway and via printing

Since these fields are printed in both route and multipath case;
avoid duplicating code.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/iproute.c