Clarify source port warning when editing a firewall rule.
In the setup wizard, do not change the DHCP range if it is already set inside the new subnet. Otherwise it will overwrite a range set manually from the DHCP settings or the console when the wizard is run later. Fixes #4820
Merge pull request #3190 from phil-davis/dhcpv6
Add extra validations on is_inrange_v46
Verify if addresses are valid IP address before convert them to makenumeric comparison.
While here, adjust indent.
Inspired by: @phil-davis patch at PR #3189
Replace underscore with hyphen in option names
Thanks Jorge
(cherry picked from commit 30786a9d2486d88cb92cbb0ecb10586b39c32c65)
Merge pull request #3186 from phil-davis/unlink_if_exists
Restore accidentally removed block
On dc61252ae the code used to restore dhcp6 leases when platform wasnanobsd was removed, but this code is supposed to run on full installwhen it's configured to use MFS /tmp. Restored it, adjusting indent,and add the correct conditional to run on MFS /tmp...
Merge pull request #3180 from valneacsu/fix_wifi_1st_VAP_params
DHCPV6 only check VIPs in range if range valid
If the user has input invalid values into range from and to, then thereis no point checking any IPv6 VIPs to see if they fall in the range.None of them would be "in range" because the specified range is not even...
Make unlink_if_exists return true/false
This allows the caller to do a single "atomic" call to unlink_if_exists.If it returns true, then they know that the file existed and that it hasbeen unlinked successfully.This should help avoid race conditions where multiple code paths try...
View revisions
Also available in: Atom