#644160 fwbuilder: fails vlan config because of bad "ip link show" output

Package:
fwbuilder
Source:
fwbuilder
Description:
Firewall administration tool GUI
Submitter:
Uwe Maier
Date:
2011-10-03 13:42:05 UTC
Severity:
normal
#644160#5
Date:
2011-10-03 13:40:17 UTC
From:
To:
Dear Maintainer,

	having FW node running "stable". fwbuilder is running on "unstable". Don't know if that matters.

	After adding a vlan sub-interface to one of the interface the installation of the fw script fails because of
	"ip" returning a completely different name for the interface. So the removal of the addresses fails and therefore
	the script gets stuck.

	vconfig add eth0 4         - create the interface; ipconfig shows it as eth0.4
	ip link show               - returns the interface as "eth0.4@eth0". The fw script no longer recognizes the interface

	The following change to the fw script makes it work again (at least for me)
	-    $IP link show | sed 's/://g' | awk -v IGNORED="$*" \
	+    $IP link show | sed -e 's/://g' -e 's/@.*//g' | awk -v IGNORED="$*" \