summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_virtual_server_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2014-02-15 08:04:28 -0800
committerPhil Davis <phil.davis@world.inf.org>2014-02-15 08:04:28 -0800
commitdf4471e228ba11c8efff5f809b23ab1f2ca5e9c7 (patch)
treeb977c6a38ddabc31b4e33731113fe0bb982743f5 /usr/local/www/load_balancer_virtual_server_edit.php
parent52acb1ff90c438a3cad137dd7bfec0d259369f59 (diff)
downloadpfsense-df4471e228ba11c8efff5f809b23ab1f2ca5e9c7.zip
pfsense-df4471e228ba11c8efff5f809b23ab1f2ca5e9c7.tar.gz
Improve processing of DNS server changes
What a pain this was. The user can blank out a DNS server from a position in the middle of the list. e.g. they had all 4 entries previously filled, and then they blank out DNS server #3. The way the DNS servers are stored in the config, they are just the defined ones in an "un-indexed" array. So actually entries 1, 2 and 4 on the screen become 1st, 2nd and 3rd in the config. The selected gateways for 1, 2 and 4 then have to end up in positions 1, 2 and 3 to match the stored DNS servers. This fixes all that up, as well as allowing the user to leave a gateway selected against a blanked-out DNS server entry - in that case the whole entry is "removed/ignored".
Diffstat (limited to 'usr/local/www/load_balancer_virtual_server_edit.php')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud