Open journaux opened 1 year ago
I guess RouteAddRequest::message_mut().header.flags |= NLM_F_APPEND
should works.
My bad. Above line will not work. This flag is for NetlinkMessage
, not RouteNetlinkMesage
@journaux Can you try https://github.com/rust-netlink/rtnetlink/pull/52 ?
rtnetlink does not have documentation on supporting
ip route append ...
cmdlet, which enables two default routes specified for any table (without using a metric) - hoping there might be a missing flag / feature for this lib that enables the same capability