Skip to content

Commit bacc52a

Browse files
committed
OSPF: Add default empty for OSPF Configuration too
1 parent 35beb23 commit bacc52a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Src/Private/Get-AbrFgtRoute.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,9 @@ function Get-AbrFgtRoute {
604604
if ($OSPFSchema.PSObject.Properties.Name -contains $name) {
605605
#found the default value
606606
$default = $OSPFSchema.$name.default
607+
if ($null -eq $default) {
608+
$default = ""
609+
}
607610
}
608611
$OutObj += [pscustomobject]@{
609612
"Name" = $name

0 commit comments

Comments
 (0)