mirror of
https://github.com/fosrl/olm.git
synced 2026-02-18 10:56:47 +00:00
Working on updates
This commit is contained in:
@@ -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