diff options
author | Ole Mathias Aa. Heggem <msbone1995@gmail.com> | 2018-01-28 15:43:54 +0100 |
---|---|---|
committer | Ole Mathias Aa. Heggem <msbone1995@gmail.com> | 2018-01-28 15:43:54 +0100 |
commit | 417d931bd1c961a7aa8f1569e949bbc2a7abfade (patch) | |
tree | 26fe991a502ea4c7966f906237d197180bc31fef /web/api/public | |
parent | 9866a8734360d54294ad96ad5149a44d676f1b83 (diff) |
Making network first class citizen
Still work in progress
Diffstat (limited to 'web/api/public')
-rwxr-xr-x | web/api/public/switches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/public/switches b/web/api/public/switches index e7f4cb0..1492f1c 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, last_updated from switches where placement is not null'); $q2->execute(); while (my $ref = $q2->fetchrow_hashref()) { |