Working on updates

This commit is contained in:
Owen
2025-11-24 22:16:39 -05:00
parent 96143e4b38
commit d34748f02e
5 changed files with 189 additions and 82 deletions

View File

@@ -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
}