summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 72be70a..bf4fdb0 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -865,7 +865,7 @@ def action_client_update():
"maintenance": form.maintenance.data,
"netiface": form.netiface.data,
"repo_id": int(form.repo.data),
- "netmask": form.netmask.data,
+ "netmask": "0",
"remote": form.remote.data,
"room": int(form.room.data),
"name": form.name.data,
@@ -898,7 +898,6 @@ def action_client_update():
form.name.data = db_client['name']
form.mac.data = db_client['mac']
form.serial_number.data = db_client['serial_number']
- form.netmask.data = db_client['netmask']
form.livedir.render_kw = {'readonly': True}
form.remote.data = db_client['remote']
form.maintenance.data = db_client['maintenance']
@@ -931,7 +930,7 @@ def action_client_add():
"name": form.name.data,
"netdriver": "generic",
"netiface": form.netiface.data,
- "netmask": form.netmask.data,
+ "netmask": "0",
"remote": form.remote.data,
"repo_id": int(form.repo.data),
"room": int(form.room.data),