]> git.ipfire.org Git - ipfire-2.x.git/commit - html/cgi-bin/ovpnmain.cgi
ovpnmain.cgi: Remove unnecessary check/error message
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Tue, 7 Sep 2021 15:53:09 +0000 (17:53 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 12 Sep 2021 09:29:15 +0000 (09:29 +0000)
commitd5f11f4e27fe1fd7a24e198a3a382e596736ff40
tree661b1dc398f9ac2a2b83f4c14fdb0f1c277fd9d8
parentb9a0d7065b7054a16181948161728192ec675608
ovpnmain.cgi: Remove unnecessary check/error message

This parameter can either be "host" or "net", but the existing check
only allows "net" entries. Since other entries are also valid but
don't require further action, this patch removes the error message.

Fixes: #12686
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/ovpnmain.cgi