Main repository for pfSense
Go to file
Phil Davis df4471e228 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".
2014-02-15 08:04:28 -08:00
boot Add hw.usb.no_pf="1" to loader.conf on nanobsd 2013-02-01 22:58:38 +01:00
cf/conf trigger setup wizard 2009-11-16 01:44:37 -05:00
conf.default Remove deprecated sysctls. vfs.forcesync needs to be seen if the patch needs to be put in place again! 2013-12-14 21:39:05 +00:00
etc Obsolete old ipsec tools files 2014-02-12 12:08:41 -02:00
root Add nonewline to end of file to avoid issues when new options are added 2013-04-29 11:05:22 -03:00
sbin Whitespace fixes 2013-08-01 11:14:08 +00:00
tmp Make this name a little more general in case we decide to have multiple similar files. 2013-09-19 13:53:08 -04:00
usr Improve processing of DNS server changes 2014-02-15 08:04:28 -08:00
.gitattributes include gettext locales in line encoding list 2014-01-13 22:05:10 -05:00
.gitignore Ignore vim swap files 2013-03-08 14:41:01 -03:00