diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-06-22 10:07:22 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2021-06-22 10:13:09 +0200 |
commit | 036079b308a6e1ba1ac690a1643264696780ae5e (patch) | |
tree | e503c6c94541d89cc4a6c7425ac9596e85340077 /net/ddns-scripts/Makefile | |
parent | c9ca45bbb3ebfb7cd9956cd4de837f487d566a42 (diff) |
ddns-scripts: get l3 device for bind network using curl
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>
Diffstat (limited to 'net/ddns-scripts/Makefile')
-rw-r--r-- | net/ddns-scripts/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index 047eab9c8..272136f80 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ddns-scripts PKG_VERSION:=2.8.2 -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_LICENSE:=GPL-2.0 |