Skip to content

Commit

Permalink
Use route active store (#1834)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal authored Apr 12, 2024
1 parent 76702c8 commit 91b2f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/internal/routemanager/systemops_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func addRoutePowershell(prefix netip.Prefix, nexthop netip.Addr, intf, intfIdx s
}

script := fmt.Sprintf(
`%s -AddressFamily "%s" -DestinationPrefix "%s" -Confirm:$False -ErrorAction Stop`,
`%s -AddressFamily "%s" -DestinationPrefix "%s" -Confirm:$False -ErrorAction Stop -PolicyStore ActiveStore`,
psCmd, addressFamily, destinationPrefix,
)

Expand Down

0 comments on commit 91b2f9f

Please sign in to comment.