]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: export print_rta_gateway version which outputs prepared gateway string
authorNikolay Aleksandrov <nikolay@nvidia.com>
Thu, 30 Sep 2021 11:38:34 +0000 (14:38 +0300)
committerDavid Ahern <dsahern@kernel.org>
Mon, 4 Oct 2021 00:24:06 +0000 (18:24 -0600)
commit371e889da7713bfbcdebd11b36025220ab30761e
tree36c9e73d68514b3f5b818b495d926d71c4807110
parentf72789965effde12c29e50946281b3ebbaadbc51
ip: export print_rta_gateway version which outputs prepared gateway string

Export a new __print_rta_gateway that takes a prepared gateway string to
print which is also used by print_rta_gateway for consistent format.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ip_common.h
ip/iproute.c