]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
firewall.cgi: Fix multiple usage of configured net or interface.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 11 Jul 2021 17:54:17 +0000 (19:54 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 2 Sep 2021 08:56:42 +0000 (08:56 +0000)
commit04b6a4baa80a26a6e097c2194ef2b57a056083c2
treed5ec63252a500a10b6edd0dee99d81cf6ea70c80
parent0e9b16472230a7f1022cebc445615905574e3e23
firewall.cgi: Fix multiple usage of configured net or interface.

When configuring a standard network as source or target the same
interface would be pre-selected as firewall interface when editing an
existing rule.

In case an existing input rule with an configured firewall interface
should be changed, the same network device has been pre-selected in the
standard networks dropdown box.

This easily confuses users and may lead to false configurations when
saving an edited rule.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/firewall.cgi