mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1

cudy ap3000-v1 did not work correctly in failsafe mode
because the address 192.168.1.1 was missing on the eth0 inteface.
it was reachable via it's IPv6 link-local address however.
this commit fixes the issue.

Fixes: https://github.com/openwrt/openwrt/issues/20750
Signed-off-by: Martin Nadvornik <martin.nadvornik@gmx.at>
Link: https://github.com/openwrt/openwrt/pull/21172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Martin Nadvornik
2025-12-15 16:54:52 +01:00
committed by Hauke Mehrtens
parent 36da03a6c1
commit e5cd6461c9

View File

@@ -11,6 +11,7 @@ set_preinit_iface() {
ip link set eth1 up
ifname=eth1
;;
cudy,ap3000-v1|\
cudy,ap3000outdoor-v1|\
cudy,re3000-v1|\
ubnt,unifi-6-lr|\