aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/public/switches
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2018-03-21 10:43:33 +0100
committerGitHub <noreply@github.com>2018-03-21 10:43:33 +0100
commit4eaeb1d7dc6095a2eec1b4711de94f907654547e (patch)
tree5b4b00409761f44227b9294e0c62f059ab68fae9 /web/api/public/switches
parent0016b6612e79cc5b115aae11c7f37ec2a27420e1 (diff)
parentdfc74df8f82d7c295319f3e197cb2d37a8ee6ddd (diff)
Merge pull request #167 from olemathias/master
Varnish is now installed in the ansible install + chart colors
Diffstat (limited to 'web/api/public/switches')
-rwxr-xr-xweb/api/public/switches2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/public/switches b/web/api/public/switches
index e7f4cb0..44fde3c 100755
--- a/web/api/public/switches
+++ b/web/api/public/switches
@@ -13,7 +13,7 @@ use Data::Dumper;
$nms::web::cc{'max-age'} = "5";
$nms::web::cc{'stale-while-revalidate'} = "30";
-my $q2 = $nms::web::dbh->prepare('select switch,sysname,tags,distro_name,placement,mgmt_v4_addr,mgmt_v6_addr,mgmt_v4_gw,mgmt_v6_gw,mgmt_vlan,traffic_vlan,poll_frequency,community,last_updated from switches where placement is not null');
+my $q2 = $nms::web::dbh->prepare('select switch,sysname,tags,distro_name,placement,mgmt_v4_addr,mgmt_v6_addr,mgmt_v4_gw,mgmt_v6_gw,mgmt_vlan,traffic_vlan,poll_frequency,community,last_updated from switches where placement is not null and deleted = false');
$q2->execute();
while (my $ref = $q2->fetchrow_hashref()) {