This patch adds up state for ppp interfaces. Uci_firewall expects up state to join interface into zone. But ip-up did not specify this and 3g (ppp) interfaces did not joined firewall zones even if they are up.
Signed-off-by: Lukas macura <[email protected]> --- Index: package/ppp/files/etc/ppp/ip-up =================================================================== --- package/ppp/files/etc/ppp/ip-up (revision 23625) +++ package/ppp/files/etc/ppp/ip-up (working copy) @@ -15,6 +15,7 @@ uci_set_state network "$PPP_IPPARAM" ifname "$PPP_IFACE" uci_set_state network "$PPP_IPPARAM" ipaddr "$PPP_LOCAL" uci_set_state network "$PPP_IPPARAM" gateway "$PPP_REMOTE" + uci_set_state network "$PPP_IPPARAM" up 1 local dns="$DNS1${DNS2:+ $DNS2}" [ -n "$dns" ] && add_dns "$PPP_IPPARAM" $dns _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
