Fix wrong ASN discovery on non-BGP Devices (#14948)

* Fix wrong as discovery. if peer has no bgp enabled, the bgp as was miss-discovered

* Update includes/discovery/bgp-peers.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>

* tests

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
Stef
2023-12-19 07:07:27 +01:00
committed by GitHub
parent 9fbdcfa96c
commit 0028311e1d
3 changed files with 10 additions and 9 deletions

View File

@@ -1327,6 +1327,7 @@
1.3.6.1.2.1.10.166.11.1.2.1.1.2.5.116.101.115.116.49.198|2|2
1.3.6.1.2.1.10.166.11.1.2.2.1.3.5.116.101.115.116.49|4|
1.3.6.1.2.1.10.166.11.1.2.2.1.4.5.116.101.115.116.49|4x|36353330313A3100
1.3.6.1.2.1.15.2.0|2|1
1.3.6.1.2.1.17.7.1.4.5.1.1.51|66|1
1.3.6.1.2.1.17.7.1.4.5.1.1.52|66|1
1.3.6.1.2.1.17.7.1.4.5.1.1.53|66|1