From 1a64f581ae05cd4c3b01cb34771e3d36ef1fc7e8 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 30 Nov 2023 21:01:20 +0100 Subject: views: set computer netmask to 0 This is never used by ogserver, instead the room netmask is always used. --- ogcp/views.py | 3 +-- 1 file changed, 1 insertion(+), 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: -- cgit v1.2.3-18-g5258