summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateway_groups_edit.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-20 21:15:06 +0200
committersmos <seth.mos@dds.nl>2012-05-20 21:15:06 +0200
commitc6d0f00b03173bc2410b84d559f38f91e79d15db (patch)
treecd01e11e7ea10c05cc8fee0f90ade14a23dfaca5 /usr/local/www/system_gateway_groups_edit.php
parent96cd928ba2a7343634b814e8b3ff910bafd78cdc (diff)
downloadpfsense-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-xusr/local/www/system_gateway_groups_edit.php3
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();
OpenPOWER on IntegriCloud