Skip to content

Commit be70547

Browse files
committed
BGP(Router): Only display BGP Chapiter when router-id is set (null by default)
1 parent c7bf849 commit be70547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Private/Get-AbrFgtRoute.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function Get-AbrFgtRoute {
194194
}
195195

196196
#There is always BGP config, only display if router-id is configured
197-
if ($BGP.'router-id' -ne "0.0.0.0" -and $InfoLevel.Route -ge 1) {
197+
if ($BGP.'router-id' -and $InfoLevel.Route -ge 1) {
198198
Section -Style Heading3 'BGP' {
199199
Section -Style Heading3 'Configuration' {
200200
$OutObj = @()

0 commit comments

Comments
 (0)