summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-25 06:06:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-25 06:06:23 +0000
commitd86962996a1d28e098c9bd216041cfa30282368d (patch)
tree4bc6824d0dcbd198d8fe7966935316b3ec8d9d41 /usr
parentb2d9ec0d61aba8ec62c806139ddf60aaccc267ce (diff)
downloadpfsense-d86962996a1d28e098c9bd216041cfa30282368d.zip
pfsense-d86962996a1d28e098c9bd216041cfa30282368d.tar.gz
Auto fill interface descr-GW as the name
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 78786c3..700b2fd 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -883,7 +883,7 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe"
<td width="45%" align="right"><font color="white">Default gateway:</td><td><input type="checkbox" id="defaultgw" name="defaultgw"<?=$checked?>></td>
</tr>
<tr>
- <td align="right"><font color="white">Gateway Name:</td><td><input id="name" name="name"></td>
+ <td align="right"><font color="white">Gateway Name:</td><td><input id="name" name="name" value="<?=$wancfg['descr'] . "-GW"?>"></td>
</tr>
<tr>
<td align="right"><font color="white">Gateway IP:</td><td><input id="gatewayip" name="gatewayip"></td>
OpenPOWER on IntegriCloud