diff options
author | Ermal Luci <eri@pfsense.org> | 2009-06-16 23:27:11 +0000 |
---|---|---|
committer | Ermal Luci <eri@pfsense.org> | 2009-06-16 23:27:11 +0000 |
commit | 48315e65964500cb9f61c1cebef6f9b608b09d4d (patch) | |
tree | ce1742cb45ff0257040f3479c865cf37917ac46e /usr/local/www/interfaces_vlan_edit.php | |
parent | a0368e6c24a27f2da9fa69a760cfe11c13764d50 (diff) | |
download | pfsense-48315e65964500cb9f61c1cebef6f9b608b09d4d.zip pfsense-48315e65964500cb9f61c1cebef6f9b608b09d4d.tar.gz |
s/./_/ for vlans since netgraph does not like .(dots) in the path names.
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 2b68596..b656293 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'] = "{$_POST['if']}.vlan{$_POST['tag']}"; + $vlan['vlanif'] = "{$_POST['if']}_vlan{$_POST['tag']}"; $vlan['vlanif'] = interface_vlan_configure($vlan); if ($vlan['vlanif'] == "" || !stristr($vlan['vlanif'], "vlan")) |