diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-03-13 14:17:30 +0000 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-03-13 14:17:30 +0000 |
commit | 544368f68e6a55ed619b91f631b0e200ad7ed5ad (patch) | |
tree | 9d0a3ec69836e62ae6cce4813c2b6d361b6eba81 /web/nms.gathering.org/api/private/switches-management | |
parent | 9f992ae24299d81643188530bc6f79e76f141c03 (diff) |
NMS: Allow editing switches in GUI
It's not pretty, but it works and should cover most of the use-cases.
Placement-editing is not meant to be the primary way to edit anything.
Diffstat (limited to 'web/nms.gathering.org/api/private/switches-management')
-rwxr-xr-x | web/nms.gathering.org/api/private/switches-management | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms.gathering.org/api/private/switches-management b/web/nms.gathering.org/api/private/switches-management index 474f674..a598824 100755 --- a/web/nms.gathering.org/api/private/switches-management +++ b/web/nms.gathering.org/api/private/switches-management @@ -12,7 +12,7 @@ use Data::Dumper; $nms::web::cc{'max-age'} = "60"; -my $q2 = $nms::web::dbh->prepare('select sysname,ip,switchtype,poll_frequency,community,last_updated from switches '); +my $q2 = $nms::web::dbh->prepare('select sysname,ip,poll_frequency,community,last_updated from switches '); $q2->execute(); while (my $ref = $q2->fetchrow_hashref()) { |