mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
openvpn: Fix deletion of static routes.
This commit is contained in:
committed by
Michael Tremer
parent
aa7afd463d
commit
8e148dc343
@@ -572,6 +572,10 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'save-adv-options'}) {
|
||||
}
|
||||
&write_routepushfile;
|
||||
undef $vpnsettings{'ROUTES_PUSH'};
|
||||
}
|
||||
else {
|
||||
undef $vpnsettings{'ROUTES_PUSH'};
|
||||
&write_routepushfile;
|
||||
}
|
||||
if ((length($cgiparams{'MAX_CLIENTS'}) == 0) || (($cgiparams{'MAX_CLIENTS'}) < 1 ) || (($cgiparams{'MAX_CLIENTS'}) > 255 )) {
|
||||
$errormessage = $Lang::tr{'invalid input for max clients'};
|
||||
|
||||
Reference in New Issue
Block a user