Skip to content

Commit fffdeee

Browse files
committed
Firewall(Address): Add also interface-subnet
it is like ipmask (subnet)
1 parent 9163d75 commit fffdeee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Src/Private/Get-AbrFgtFirewall.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ function Get-AbrFgtFirewall {
133133
"dynamic" {
134134
$value = $add.filter
135135
}
136+
"interface-subnet" {
137+
$value = $(if ($Options.UseCIDRNotation) { Convert-AbrFgtSubnetToCIDR -Input $add.subnet } else { $add.subnet.Replace(' ', '/') })
138+
}
136139
default {
137140
$value = "Unknown Type"
138141
}

0 commit comments

Comments
 (0)