diff options
author | smos <seth.mos@dds.nl> | 2012-05-20 21:15:06 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-05-20 21:15:06 +0200 |
commit | c6d0f00b03173bc2410b84d559f38f91e79d15db (patch) | |
tree | cd01e11e7ea10c05cc8fee0f90ade14a23dfaca5 /usr/local/www/system_gateway_groups_edit.php | |
parent | 96cd928ba2a7343634b814e8b3ff910bafd78cdc (diff) | |
download | pfsense-c6d0f00b03173bc2410b84d559f38f91e79d15db.zip pfsense-c6d0f00b03173bc2410b84d559f38f91e79d15db.tar.gz |
Allow modification of gateway groups even if the gateways are down.
Diffstat (limited to 'usr/local/www/system_gateway_groups_edit.php')
-rwxr-xr-x | usr/local/www/system_gateway_groups_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_gateway_groups_edit.php b/usr/local/www/system_gateway_groups_edit.php index f7814cf..ef7f616 100755 --- a/usr/local/www/system_gateway_groups_edit.php +++ b/usr/local/www/system_gateway_groups_edit.php @@ -167,7 +167,8 @@ include("head.inc"); foreach($a_gateways as $gwname => $gateway) { if(!empty($pconfig['item'])) { $af = explode("|", $pconfig['item'][0]); - if(!validate_address_family(lookup_gateway_ip_by_name($af[0]), $gateway['gateway'])) + $family = $a_gateways[$af[0]]['ipprotocol']; + if($gateway['ipprotocol'] != $family) continue; } $selected = array(); |