Skip to content

Commit cd3e4ff

Browse files
Merge pull request #443 from srdan-bozovic-msft/master
fix: subnet address prefix
2 parents daa75b6 + 5cd19b7 commit cd3e4ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/manage/azure-sql-db-managed-instance/prepare-subnet/prepareSubnet.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ function VerifyRouteTable {
557557
ForEach($route in $routeTable.Routes)
558558
{
559559
If(
560-
(HasCidrOverlap -cidrRangeA $route.AddressPrefix -cidrRangeB $subnet.AddressPrefix[0]) -and `
560+
(HasCidrOverlap -cidrRangeA $route.AddressPrefix -cidrRangeB $subnet.AddressPrefix) -and `
561561
$route.NextHopType -ne "VnetLocal"
562562
)
563563
{

0 commit comments

Comments
 (0)