diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-04 20:59:31 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-04 20:59:31 -0700 |
commit | 9c2e9c13458e7f201c551e881fde9865b6be4722 (patch) | |
tree | 880c3109f97da948aae72802daf9eae88efcdbf3 /usr/local | |
parent | 2993dcc2460c6befe73633d842c7cdc59e24fabc (diff) | |
download | pfsense-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/local')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
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"> |