config_get_bool frameburst "$device" frameburst
config_get macfilter "$device" macfilter
config_get maclist "$device" maclist
config_get_bool frameburst "$device" frameburst
config_get macfilter "$device" macfilter
config_get maclist "$device" maclist
+ config_get macaddr "$device" macaddr
local vif_pre_up vif_post_up vif_do_up
_c=0
local vif_pre_up vif_post_up vif_do_up
_c=0
config_get ifname "$vif" ifname
#append if_up "ifconfig $ifname up" ";$N"
config_get ifname "$vif" ifname
#append if_up "ifconfig $ifname up" ";$N"
+ [ -z "$macaddr" ] || append if_up "ifconfig $ifname hw ether $macaddr" ";$N"
local net_cfg bridge
net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {
local net_cfg bridge
net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {