summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_vlan_edit.php
diff options
context:
space:
mode:
authorErmal Luci <eri@pfsense.org>2009-06-16 23:27:11 +0000
committerErmal Luci <eri@pfsense.org>2009-06-16 23:27:11 +0000
commit48315e65964500cb9f61c1cebef6f9b608b09d4d (patch)
treece1742cb45ff0257040f3479c865cf37917ac46e /usr/local/www/interfaces_vlan_edit.php
parenta0368e6c24a27f2da9fa69a760cfe11c13764d50 (diff)
downloadpfsense-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-xusr/local/www/interfaces_vlan_edit.php2
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"))
OpenPOWER on IntegriCloud