mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
allow as0 as local asn, to work around an apparent problem in junos 8.2R4.5
git-svn-id: http://www.observium.org/svn/observer/trunk@763 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
$as_cmd .= ".1.3.6.1.2.1.15.2";
|
||||
$bgpLocalAs = trim(shell_exec($as_cmd));
|
||||
|
||||
if($bgpLocalAs && !strstr($bgpLocalAs, " "))
|
||||
if(is_numeric($bgpLocalAs))
|
||||
{
|
||||
echo("AS$bgpLocalAs ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user