From 9ddfd86b4f54ba3f178fde9f8cb959baa02da718 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 22 Mar 2018 02:15:07 +0100 Subject: Commit diverse av Ole Mathias sitt template-greier --- web/api/read/distro-management | 2 +- web/api/read/networks | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 web/api/read/networks (limited to 'web/api/read') diff --git a/web/api/read/distro-management b/web/api/read/distro-management index 7fbebef..55ca07e 100755 --- a/web/api/read/distro-management +++ b/web/api/read/distro-management @@ -19,7 +19,7 @@ my $q2; $nms::web::cc{'max-age'} = "5"; $nms::web::cc{'stale-while-revalidate'} = "30"; -$q2 = $nms::web::dbh->prepare('SELECT distro_name,sysname,subnet4,subnet6,traffic_vlan,distro_phy_port FROM switches WHERE placement is not null AND distro_name is not null AND distro_phy_port is not null and deleted = false'); +$q2 = $nms::web::dbh->prepare('SELECT distro_name,sysname,distro_phy_port FROM switches WHERE placement is not null AND distro_name is not null AND distro_phy_port is not null and deleted = false'); $q2->execute(); while (my $ref = $q2->fetchrow_hashref()) { diff --git a/web/api/read/networks b/web/api/read/networks old mode 100644 new mode 100755 -- cgit v1.2.3