Fix route_del bug: routes are added without protocol, so delete them without protocol too
Some checks are pending
Rust / build (push) Waiting to run

This commit is contained in:
Rayhaan Jaufeerally
2024-08-18 10:50:27 +00:00
parent 661946b2f8
commit 82d052ca33

View File

@ -113,7 +113,6 @@ impl SouthboundInterface for NetlinkConnector {
}, },
destination_prefix_length: prefix.prefixlen, destination_prefix_length: prefix.prefixlen,
table: self.table.unwrap_or(0) as u8, table: self.table.unwrap_or(0) as u8,
protocol: RouteProtocol::Bgp,
kind: RouteType::Unicast, kind: RouteType::Unicast,
..Default::default() ..Default::default()
}; };