summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-09 03:10:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-09 03:10:26 +0000
commit0d21552c34c04d919d8514d47633524309e8e32b (patch)
tree7e33f2fb765f24cf3c2fab6401a960d5ca307761 /usr/local
parent72f1d372bbc5108660780180fd4d956ac64c9b84 (diff)
downloadpfsense-0d21552c34c04d919d8514d47633524309e8e32b.zip
pfsense-0d21552c34c04d919d8514d47633524309e8e32b.tar.gz
Add back Save button.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces_assign.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 416e151..fd850f0 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -173,16 +173,16 @@ if ($_GET['act'] == "add") {
$i = 1;
if(!$config['interfaces']['lan']) {
$newifname = "lan";
- $descr = "LAN";
+ $config['interfaces'][$newifname] = array();
+ $config['interfaces'][$newifname]['descr'] = "{$descr}";
} else {
while (is_array($config['interfaces']['opt' . $i]))
$i++;
$newifname = 'opt' . $i;
$descr = "OPT";
+ $config['interfaces'][$newifname] = array();
+ $config['interfaces'][$newifname]['descr'] = "{$descr}" . $i;
}
-
- $config['interfaces'][$newifname] = array();
- $config['interfaces'][$newifname]['descr'] = "{$descr}" . $i;
/* Find an unused port for this interface */
foreach ($portlist as $portname => $portinfo) {
@@ -287,7 +287,8 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed"))
<?php endif; ?>
</table>
</div>
-<br>
+<br/>
+<input name="Submit" type="submit" class="formbtn" value="Save"><br><br>
<p>
</p>
<ul>
OpenPOWER on IntegriCloud