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
Some checks are pending
Rust / build (push) Waiting to run
This commit is contained in:
@ -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()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user