diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-11-15 10:00:14 +0100 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-11-15 10:00:14 +0100 |
commit | d9069802f61b3a36807c02c429ec0b9c9a63c857 (patch) | |
tree | 8074f51382b7b43a8f27e78e409da2060ba90228 /web/api/read | |
parent | 502c46a7299cac16018a8a2e7b376f139627ecae (diff) |
Start clean switches-table
Lots of cruft
Diffstat (limited to 'web/api/read')
-rwxr-xr-x | web/api/read/switches-management | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/read/switches-management b/web/api/read/switches-management index 33fc6ab..34323b1 100755 --- a/web/api/read/switches-management +++ b/web/api/read/switches-management @@ -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 sysname,mgmt_v4_addr,subnet4,subnet6,mgmt_v6_addr,mgmt_v4_gw,mgmt_v6_gw,mgmt_vlan,traffic_vlan,last_config_fetch,current_mac,poll_frequency,last_updated,distro_phy_port,community from switches where placement is not null'); +my $q2 = $nms::web::dbh->prepare('select sysname,mgmt_v4_addr,subnet4,subnet6,mgmt_v6_addr,mgmt_v4_gw,mgmt_v6_gw,mgmt_vlan,traffic_vlan,poll_frequency,last_updated,distro_phy_port,community from switches where placement is not null'); $q2->execute(); while (my $ref = $q2->fetchrow_hashref()) { |