Skip to content

Commit

Permalink
babeld: match eth and lan, waiting for a proper generic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilario committed Jun 18, 2023
1 parent d95e70f commit c3ef5a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function babeld.setup_interface(ifname, args)

local uci = config.get_uci_cursor()

if(vlanId ~= 0 and ifname:match("^lan")) then
if(vlanId ~= 0 and (ifname:match("^eth") or ifname:match("^lan"))) then
uci:set("network", owrtDeviceName, "mtu", tostring(network.MTU_ETH_WITH_VLAN))
end

Expand Down

0 comments on commit c3ef5a8

Please sign in to comment.