mirror of
https://github.com/fosrl/olm.git
synced 2026-02-17 02:16:44 +00:00
@@ -240,7 +240,7 @@ func AddRoutes(remoteSubnets []string, interfaceName string) error {
|
||||
}
|
||||
|
||||
// removeRoutesForRemoteSubnets removes routes for each subnet in RemoteSubnets
|
||||
func RemoveRoutesForRemoteSubnets(remoteSubnets []string) error {
|
||||
func RemoveRoutes(remoteSubnets []string) error {
|
||||
if len(remoteSubnets) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user