aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/write
diff options
context:
space:
mode:
authorOle Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com>2018-03-17 18:03:23 +0100
committerOle Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com>2018-03-17 18:03:23 +0100
commitdc97b997e8d6e5edc63c598c05090a8b98e79757 (patch)
tree42762b3582ec8416cc70527c178dda6498b90f19 /web/api/write
parent8607a0880724eca35c220f7c26a138d9f0f50f72 (diff)
Added support for delete switches
Diffstat (limited to 'web/api/write')
-rwxr-xr-xweb/api/write/switch-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/write/switch-update b/web/api/write/switch-update
index 0ee4681..b71548b 100755
--- a/web/api/write/switch-update
+++ b/web/api/write/switch-update
@@ -23,7 +23,7 @@ my @dups;
my $sth = $nms::web::dbh->prepare("SELECT sysname FROM switches WHERE sysname=?");
-my @fields = ( 'community', 'tags', 'distro_name', 'distro_phy_port', 'mgmt_v4_addr', 'mgmt_v4_gw', 'mgmt_v4_netsize', 'mgmt_v6_addr', 'mgmt_v6_gw', 'mgmt_v6_netsize', 'mgmt_vlan', 'placement', 'poll_frequency', 'subnet4', 'subnet6', 'sysname', 'traffic_vlan');
+my @fields = ( 'community', 'tags', 'distro_name', 'distro_phy_port', 'mgmt_v4_addr', 'mgmt_v4_gw', 'mgmt_v4_netsize', 'mgmt_v6_addr', 'mgmt_v6_gw', 'mgmt_v6_netsize', 'mgmt_vlan', 'placement', 'poll_frequency', 'subnet4', 'subnet6', 'sysname', 'traffic_vlan', 'deleted');
sub convertplace
{