Skip to content

Commit 5df684f

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

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
@@ -197,7 +197,7 @@ function Get-AbrFgtRoute {
197197
}
198198

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

0 commit comments

Comments
 (0)