1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-21 02:37:16 +01:00

see #2066 fixed configlet code that retrieves list of existing vlans

This commit is contained in:
Vadim Kurland 2011-02-10 10:09:56 -08:00
parent 755d0d3c83
commit 2657d3aad6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-02-10 vadim <vadim@netcitadel.com>
* configlets/bsd/update_vlans: fixes #2066 "Existing VLAN
interfaces are not properly removed from FreeBSD and install
script fails"
2011-02-09 Vadim Kurland <vadim@netcitadel.com>
* RuleSetView.cpp (showToolTip): fixes #1915 "tooltip shown when

View File

@ -52,7 +52,7 @@ parse_fwb_vlans() {
parse_current_vlans() {
vlan_parent_interface=$1
$IFCONFIG {{if openbsd}}-A{{endif}} | grep 'vlan: ' | sed 's/priority:.*parent interface://' | \
$IFCONFIG {{if openbsd}}-A{{endif}} | grep 'vlan: ' | sed 's/parent interface://' | \
while read x vlan_id parent
do
test "$parent" = "$vlan_parent_interface" && echo "vlan$vlan_id@$parent"