summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-30 21:01:20 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-30 21:01:49 +0100
commit1a64f581ae05cd4c3b01cb34771e3d36ef1fc7e8 (patch)
tree7abaca92bb5dc6ce097b2bc4e9bde9c414b394fb /ogcp
parent0340c17dc3533b939df3a169632c3b63f10e607c (diff)
views: set computer netmask to 0v1.1.3-5
This is never used by ogserver, instead the room netmask is always used.
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 32ae526..eb6bfec 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1028,7 +1028,6 @@ OG_CLIENT_DEFAULT_LIVEDIR = "ogLive"
OG_CLIENT_DEFAULT_MAINTENANCE = False
OG_CLIENT_DEFAULT_NETDRIVER = "generic"
OG_CLIENT_DEFAULT_NETIFACE = "eth0"
-OG_CLIENT_DEFAULT_NETMASK = "255.255.255.0"
OG_CLIENT_DEFAULT_REMOTE = False
@@ -1047,7 +1046,7 @@ def action_clients_import_post():
'maintenance': OG_CLIENT_DEFAULT_MAINTENANCE,
'netdriver': OG_CLIENT_DEFAULT_NETDRIVER,
'netiface': OG_CLIENT_DEFAULT_NETIFACE,
- 'netmask': OG_CLIENT_DEFAULT_NETMASK,
+ 'netmask': "0",
'remote': OG_CLIENT_DEFAULT_REMOTE,
'room': int(form.room.data)}
for client in clients: