diff options
author | Phil Davis <phil.davis@world.inf.org> | 2014-02-15 08:04:28 -0800 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2014-02-15 08:04:28 -0800 |
commit | df4471e228ba11c8efff5f809b23ab1f2ca5e9c7 (patch) | |
tree | b977c6a38ddabc31b4e33731113fe0bb982743f5 /usr/local/www/favicon.ico | |
parent | 52acb1ff90c438a3cad137dd7bfec0d259369f59 (diff) | |
download | pfsense-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/favicon.ico')
0 files changed, 0 insertions, 0 deletions