diff --git a/src/www/system_gateway_groups_edit.php b/src/www/system_gateway_groups_edit.php
index 22f267ee9..9150c7b76 100644
--- a/src/www/system_gateway_groups_edit.php
+++ b/src/www/system_gateway_groups_edit.php
@@ -195,15 +195,7 @@ $( document ).ready(function() {
= gettext('Description') ?> |
$gateway):
- if (!empty($pconfig['item'])) {
- $af = explode("|", $pconfig['item'][0]);
- $family = $a_gateways[$af[0]]['ipprotocol'];
- if ($gateway['ipprotocol'] != $family) {
- continue;
- }
- }
-?>
+ foreach ($a_gateways as $gwname => $gateway):?>
| =$gateway['name'];?> |
|