aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/api/private/switches-management
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-03-17 21:30:27 +0000
committerKristian Lyngstol <kly@kly.no>2016-03-17 21:30:27 +0000
commit8eb1b43ce136e808fbd90aeb11eecd03eaa821d8 (patch)
treeecbfc490bfeba56b48bb0088e3835ee955eef481 /web/nms.gathering.org/api/private/switches-management
parente639c32b384ea51a5913eff6531d676fe166b068 (diff)
NMS: Actually store distro and ipv6 address too
Diffstat (limited to 'web/nms.gathering.org/api/private/switches-management')
-rwxr-xr-xweb/nms.gathering.org/api/private/switches-management2
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 543d08d..6b5fdcd 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,poll_frequency,community,subnet4,subnet6,last_updated from switches ');
+my $q2 = $nms::web::dbh->prepare('select sysname,ip,poll_frequency,community,subnet4,subnet6,distro,last_updated from switches ');
$q2->execute();
while (my $ref = $q2->fetchrow_hashref()) {