summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-03-04 20:59:31 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-03-04 20:59:31 -0700
commit9c2e9c13458e7f201c551e881fde9865b6be4722 (patch)
tree880c3109f97da948aae72802daf9eae88efcdbf3 /usr
parent2993dcc2460c6befe73633d842c7cdc59e24fabc (diff)
downloadpfsense-9c2e9c13458e7f201c551e881fde9865b6be4722.zip
pfsense-9c2e9c13458e7f201c551e881fde9865b6be4722.tar.gz
Fixing the condition for the enable checkbox broke saving on wan and lan. Add a hidden enable field for wan and lan to fix any code that expects it to be there.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index b80a940..1b1dc77 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -894,6 +894,8 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe"
<strong>Enable Interface</strong>
</td>
</tr>
+ <?php else: ?>
+ <input name="enable" type="hidden" value="yes">
<?php endif; ?>
</table>
<div style="display:none;" name="allcfg" id="allcfg">
OpenPOWER on IntegriCloud