If pppoe is used for wan access. script set 'eth1' as interface for curl
call. The correct interface is however 'pppoe-wan'.
The script uses 'network_get_physdev' function to get real device for
bind_network but this is wrong. We need instead the l3_device of the the
logical interface.
In case if we don't use pppoe connection - 'l3_device' is equal to real device.
This was reported by the github user `welderpb` with P/R:
https://github.com/openwrt/packages/pull/14431
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
|
||
---|---|---|
.. | ||
dynamic_dns_functions.sh | ||
dynamic_dns_lucihelper.sh | ||
dynamic_dns_updater.sh | ||
update_cloudflare_com_v4.sh | ||
update_cnkuai_cn.sh | ||
update_digitalocean_com_v2.sh | ||
update_freedns_42_pl.sh | ||
update_gandi_net.sh | ||
update_godaddy_com_v1.sh | ||
update_no-ip_com.sh | ||
update_nsupdate.sh | ||
update_route53_v1.sh |