From c7b28f931e6dcf0d5c790578fb04c02b17d1f5ab Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Sun, 15 May 2011 08:37:33 +0000 Subject: [PATCH] make rancid_configs an array in defaults, uppercase LLDP/CDP/FDP/... in ports/neighbours git-svn-id: http://www.observium.org/svn/observer/trunk@2319 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/ports/neighbours.inc.php | 2 +- includes/defaults.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/pages/device/ports/neighbours.inc.php b/html/pages/device/ports/neighbours.inc.php index 44c2a5480d..2b455bcaf9 100644 --- a/html/pages/device/ports/neighbours.inc.php +++ b/html/pages/device/ports/neighbours.inc.php @@ -32,7 +32,7 @@ while($neighbour = mysql_fetch_assoc($query)) echo("".$neighbour['remote_hostname']."
".$neighbour['remote_platform'].""); } - echo("".$neighbour['protocol'].""); + echo("".strtoupper($neighbour['protocol']).""); echo(""); $i++; } diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php index 6c19efe2d6..2f81bd5bf6 100644 --- a/includes/defaults.inc.php +++ b/includes/defaults.inc.php @@ -161,7 +161,7 @@ $config['billing']['bill_autoadd'] = 0; # Enable Auto-add bill per bill_id ### External Integration -#$config['rancid_configs'] = '/var/lib/rancid/network/configs/'; +#$config['rancid_configs'][] = '/var/lib/rancid/network/configs/'; $config['rancid_ignorecomments'] = 0; # Ignore lines starting with # #$config['collectd_dir'] = '/var/lib/collectd/rrd';