aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/read
diff options
context:
space:
mode:
authorroot <root@colazero.tele.tg18.gathering.org>2018-03-22 02:15:07 +0100
committerroot <root@colazero.tele.tg18.gathering.org>2018-03-22 02:15:07 +0100
commit9ddfd86b4f54ba3f178fde9f8cb959baa02da718 (patch)
tree0cf1e0b1e2c04d2180a343e31da9ee07d35c097f /web/api/read
parent05e09f3b63269a48d1beb0dc9900b180101cec7f (diff)
Commit diverse av Ole Mathias sitt template-greier
Diffstat (limited to 'web/api/read')
-rwxr-xr-xweb/api/read/distro-management2
-rwxr-xr-x[-rw-r--r--]web/api/read/networks0
2 files changed, 1 insertions, 1 deletions
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
index 870ae8c..870ae8c 100644..100755
--- a/web/api/read/networks
+++ b/web/api/read/networks