1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Create macvlan over vlan

This commit is contained in:
Ycarus 2018-09-15 21:13:12 +02:00
parent 9616e417ac
commit 3164df114a

View file

@ -32,12 +32,12 @@ _save_macaddr() {
# Configuration by interface
_setup_interface() {
# do not create macvlan for vlan
local _ifname
config_get _ifname "$1" ifname
case "$_ifname" in
eth*.*) return ;;
esac
# do not create macvlan for vlan
#case "$_ifname" in
# eth*.*) return ;;
#esac
[ "$(echo $1 | grep _dev)" != "" ] && {
local _intfdev=$(sed 's/_dev//' $1)