diff options
Diffstat (limited to 'usr/local/www/system_routes_edit.php')
-rwxr-xr-x | usr/local/www/system_routes_edit.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php index 9895d0e..96d24d5 100755 --- a/usr/local/www/system_routes_edit.php +++ b/usr/local/www/system_routes_edit.php @@ -182,15 +182,9 @@ include("head.inc"); <select name="gateway" id="gateway" class="formselect"> <?php foreach ($a_gateways as $gateway) { - if ($gateway['attribute'] == "system") { - echo "<option value='{$gateway['friendlyiface']}' "; - if ($gateway['friendlyiface'] == $pconfig['gateway']) - echo "selected"; - } else { - echo "<option value='{$gateway['name']}' "; - if ($gateway['name'] == $pconfig['gateway']) - echo "selected"; - } + echo "<option value='{$gateway['name']}' "; + if ($gateway['name'] == $pconfig['gateway']) + echo "selected"; echo ">" . htmlspecialchars($gateway['name']) . " - " . htmlspecialchars($gateway['gateway']) . "</option>\n"; } ?> |