summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-09 02:49:22 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-09 02:49:31 +0000
commit2f998593cb2bbdc2f00485ef644c904012eeaebe (patch)
tree0cacb0ef51efef65ff6170ec71153f6c3f92c582 /etc
parent44b0ec8322f230e205ac6a253f83e5539dd4e178 (diff)
downloadpfsense-2f998593cb2bbdc2f00485ef644c904012eeaebe.zip
pfsense-2f998593cb2bbdc2f00485ef644c904012eeaebe.tar.gz
Use the vlan tag for interface name even when creating vlans from console.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 3b8be5a..9cda38b 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -2787,7 +2787,7 @@ EOD;
echo "Enter the VLAN tag (1-4094): ";
$vlan['tag'] = chop(fgets($fp));
- $vlan['vlanif'] = "vlan{$vlanif}";
+ $vlan['vlanif'] = "vlan{$vlan['tag']}";
if (!is_numericint($vlan['tag']) || ($vlan['tag'] < 1) || ($vlan['tag'] > 4094)) {
echo "\nInvalid VLAN tag '{$vlan['tag']}'\n";
continue;
OpenPOWER on IntegriCloud