loxilb UI: fix updating existing LB mode/sel

fix: https://github.com/vincentmli/BPFire/issues/24

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-06-02 01:54:02 +00:00
parent 6df412401c
commit 63c3e67c07

View File

@@ -167,6 +167,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'add'}) {
}
if ($settings{'EN'} eq 'on') {
&DeleteLB(%settings);
&CreateLB(%settings);
}