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:
parent
9616e417ac
commit
3164df114a
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue