mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
Restore support for VLAN devices
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@420 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
cd1417ec17
commit
bf4ccb8d7a
@ -374,7 +374,14 @@ chain_base() #$1 = interface
|
|||||||
{
|
{
|
||||||
local c=${1%%+*}
|
local c=${1%%+*}
|
||||||
|
|
||||||
echo ${c:=common}
|
case $c in
|
||||||
|
*.*)
|
||||||
|
echo ${c%.*}_${c#*.}
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo ${c:=common}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -609,7 +616,7 @@ validate_interfaces_file() {
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
error_message "Warning: Invalid option ($option) in record \"$r\""
|
error_message "Warning: Invalid option ($option) in record \"$r\""
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user