mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-18 19:09:09 +02:00
Use route active store (#1834)
This commit is contained in:
@@ -73,7 +73,7 @@ func addRoutePowershell(prefix netip.Prefix, nexthop netip.Addr, intf, intfIdx s
|
|||||||
}
|
}
|
||||||
|
|
||||||
script := fmt.Sprintf(
|
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,
|
psCmd, addressFamily, destinationPrefix,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user