aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/api/private/switch-add
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-03-17 19:50:13 +0000
committerKristian Lyngstol <kly@kly.no>2016-03-17 19:50:13 +0000
commit025f01e7e8c5bfea21b559fbac650f90c2774a29 (patch)
treebc473671f59016157969a4e49c56b8a980ffacb3 /web/nms.gathering.org/api/private/switch-add
parent344b05a0c708c5b916d7b66de98366bc0bdad639 (diff)
NMS: Add subnets in swtiches
Diffstat (limited to 'web/nms.gathering.org/api/private/switch-add')
-rwxr-xr-xweb/nms.gathering.org/api/private/switch-add2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms.gathering.org/api/private/switch-add b/web/nms.gathering.org/api/private/switch-add
index e50b9a5..979a1d8 100755
--- a/web/nms.gathering.org/api/private/switch-add
+++ b/web/nms.gathering.org/api/private/switch-add
@@ -22,7 +22,7 @@ my @dups;
my $sth = $nms::web::dbh->prepare("SELECT sysname FROM switches WHERE sysname=?");
-my @fields = ('ip', 'sysname', 'switchtype', 'last_updated', 'locked', 'poll_frequency', 'community', 'lldp_chassis_id', 'secondary_ip', 'placement');
+my @fields = ('ip', 'sysname', 'switchtype', 'last_updated', 'locked', 'poll_frequency', 'community', 'lldp_chassis_id', 'secondary_ip', 'subnet4', 'subnet6', 'placement');
sub convertplace
{