diff --git a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua index df8724c43..44128f129 100644 --- a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua +++ b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua @@ -106,6 +106,7 @@ function wizard_add() if ointf ~= "" then ucic:set("network","wan" .. i,"type","macvlan") ucic:set("macvlan","wan" .. i,"macvlan") + ucic:set("macvlan","wan" .. i,"ifname",defif) end ucic:set("network","wan" .. i,"ip4table","wan") if multipath_master then