]> git.proxmox.com Git - mirror_iproute2.git/commit
ip route: Print "rt_offload" and "rt_trap" indication
authorIdo Schimmel <idosch@mellanox.com>
Thu, 16 Jan 2020 18:43:48 +0000 (20:43 +0200)
committerDavid Ahern <dsahern@gmail.com>
Sat, 18 Jan 2020 21:40:20 +0000 (21:40 +0000)
commited81a2a040a9af811b098cbb8cf026afd698bdbe
tree54896c64939e7a7315cd608a03602687b123f20b
parent8b802d20e41db92a56497a4897f487aca0396718
ip route: Print "rt_offload" and "rt_trap" indication

The kernel now signals the offload state of a route using the
'RTM_F_OFFLOAD' and 'RTM_F_TRAP' flags. Print these to help users
understand the offload state of each route. The "rt_" prefix is used in
order to distinguish it from the offload state of nexthops.

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