diff options
author | jim-p <jimp@pfsense.org> | 2010-06-02 11:13:32 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-02 11:13:32 -0400 |
commit | 41d984713b815ee6a59121e8c1055ffd25b514aa (patch) | |
tree | d8939d2304c30af6edf387f968ef6e7ddc22cfbc /usr/local/www/system_gateways_edit.php | |
parent | b9b9b4d8d8ee1ae167331240e466f758bcbfe4b5 (diff) | |
download | pfsense-41d984713b815ee6a59121e8c1055ffd25b514aa.zip pfsense-41d984713b815ee6a59121e8c1055ffd25b514aa.tar.gz |
Default to "dynamic" for a dynamic gateway.
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 21cf65b..d0f3f3c 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -348,7 +348,7 @@ function show_advanced_gateway() { <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Gateway"); ?></td> <td width="78%" class="vtable"> - <input name="gateway" type="text" class="formfld host" id="gateway" size="40" value="<?php echo $pconfig['gateway']; ?>" <?php if ($pconfig['dynamic'] == true && $pconfig['attribute'] == "system") echo "disabled"; ?>> + <input name="gateway" type="text" class="formfld host" id="gateway" size="40" value="<?php if ($pconfig['dynamic']) echo "dynamic"; else echo $pconfig['gateway']; ?>" <?php if ($pconfig['dynamic'] && $pconfig['attribute'] == "system") echo "disabled"; ?>> <br> <span class="vexpl"><?=gettext("Gateway IP address"); ?></span></td> </tr> <tr> |