pfsense/usr/local
Phil Davis 028ff8f8a3 Fix #4813 validation of enable/disable of gateways and static routes
1) A disabled gateway can always be enabled - no extra validation
needed.
2) When disabling an enabled gateway, check to see that the gateway is
not used in any gateway group or enabled static route (similar tests to
what is already checked before deleting a gateway).
3) A static route can always be disabled - no extra checks needed.
4) When enabling a static route, check that the selected gateway is
enabled - you cannot have a static route enabled on a disabled gateway.
5) Do the address family cross-check between static route and gateway
even when the static route is disabled - we do not want to save
mismatched   IP address families in any case.
This covers all the cases I can see to ensure that the enable/disable
status combinations of Gateways and Static Routes is always valid.
2015-07-05 23:18:04 +05:45
..
bin Merge pull request #1444 from oliwel/feature/easyrule-unblock 2015-05-28 10:40:10 -03:00
captiveportal Code spacing 2015-06-15 14:19:11 +05:45
etc
openssl
pkg Code spacing 2015-06-15 14:19:11 +05:45
sbin Merge pull request #1562 from phil-davis/usr-review1 2015-03-16 08:17:03 -03:00
share Re-generate broken .mo files, it fixes #4705 2015-06-07 13:38:05 -05:00
www Fix #4813 validation of enable/disable of gateways and static routes 2015-07-05 23:18:04 +05:45