diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2023-11-22 12:42:33 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-11-23 10:21:22 +0100 |
commit | 3a0cdbda5a7f711d23ef4680f553800780f8f7ae (patch) | |
tree | d7a73601d33d57215a6e0727af9be6f558e4a9c5 /ogcp/views.py | |
parent | 739ac075dcd000ffb59003e223787ad62174d643 (diff) |
src: Remove netdriver field in client form
Remove netdriver field from forms used to add or update a client.
At the time of creating (or updating) a client, ogCP uses a hardcoded
value for this field of the payload.
This field is not used by oglive in any way, remove it.
Diffstat (limited to 'ogcp/views.py')
-rw-r--r-- | ogcp/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index 2d5e6d0..18a107c 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -865,7 +865,7 @@ def action_client_add(): "mac": form.mac.data, "maintenance": form.maintenance.data, "name": form.name.data, - "netdriver": form.netdriver.data, + "netdriver": "generic", "netiface": form.netiface.data, "netmask": form.netmask.data, "remote": form.remote.data, |