diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-06-08 22:23:40 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-06-08 22:23:40 +0000 |
commit | 305c847d674b40a3f11c53f377bb607d6c2fe133 (patch) | |
tree | c42ff9e674db8737a64a1b5986e7d10e9453bbe1 /usr/local/www/interfaces_vlan_edit.php | |
parent | e1c449c0362c89b1d7c4ab2a1a860e88938cfcde (diff) | |
download | pfsense-305c847d674b40a3f11c53f377bb607d6c2fe133.zip pfsense-305c847d674b40a3f11c53f377bb607d6c2fe133.tar.gz |
Use $RealIf.vlan$tag interface names for vlans. This makes them more userfriendly.
Diffstat (limited to 'usr/local/www/interfaces_vlan_edit.php')
-rwxr-xr-x | usr/local/www/interfaces_vlan_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php index 04f7f4b..2b68596 100755 --- a/usr/local/www/interfaces_vlan_edit.php +++ b/usr/local/www/interfaces_vlan_edit.php @@ -98,7 +98,7 @@ if ($_POST) { $vlan['if'] = $_POST['if']; $vlan['tag'] = $_POST['tag']; $vlan['descr'] = $_POST['descr']; - $vlan['vlanif'] = "vlan{$_POST['tag']}"; + $vlan['vlanif'] = "{$_POST['if']}.vlan{$_POST['tag']}"; $vlan['vlanif'] = interface_vlan_configure($vlan); if ($vlan['vlanif'] == "" || !stristr($vlan['vlanif'], "vlan")) |