]> git.proxmox.com Git - mirror_iproute2.git/commit
nexthop: Always print nexthop flags
authorIdo Schimmel <idosch@nvidia.com>
Thu, 19 Nov 2020 13:57:31 +0000 (15:57 +0200)
committerDavid Ahern <dsahern@gmail.com>
Sun, 22 Nov 2020 19:43:56 +0000 (12:43 -0700)
commit0788678991348642407381aa74456c9e71ca9974
tree381e89b85d2b548c825d962bd00e095a1833bb1c
parent3de35f41be3f4136a90d38f8f1e3f1016f334d02
nexthop: Always print nexthop flags

Currently, the nexthop flags are only printed when the nexthop has a
nexthop device. The offload / trap indication is therefore not printed
for nexthop groups.

Instead, always print the nexthop flags, regardless if the nexthop has a
nexthop device or not.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/ipnexthop.c