Skip to content

Commit

Permalink
lime-proto-anygw: hardcode anygw_dev.ifname=br-lan instead of @lan
Browse files Browse the repository at this point in the history
This is a workaround for a netifd? bug where issuing 'reload_config' after changing network.lan.ipaddr
will hang with 'unregister_netdevice: waiting for anygw to become free' indefinitely.
when anygw_dev.ifname=br-lan, the issue is not present and the new ipaddr is applied
  • Loading branch information
altergui committed Aug 7, 2016
1 parent ae2239e commit a18074f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lime-proto-anygw/src/anygw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function anygw.configure(args)
local anygw_ipv4 = ipv4:minhost()
anygw_ipv6:prefix(64) -- SLAAC only works with a /64, per RFC
anygw_ipv4:prefix(ipv4:prefix())
local baseIfname = "@lan"
local baseIfname = "br-lan"
local argsDev = { macaddr = anygw_mac }
local argsIf = { proto = "static" }
argsIf.ip6addr = anygw_ipv6:string()
Expand Down

0 comments on commit a18074f

Please sign in to comment.