Hi, I am proposing the below patch for pptp package. Because this ifname correction is done in the ppp.sh script for all the ppp based protocols.
Thanks, Murat Sezgin www.ubicom.com diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index e38c242..6008a48 100644 --- a/package/pptp/files/pptp.sh +++ b/package/pptp/files/pptp.sh @@ -31,11 +31,6 @@ setup_interface_pptp() { config_get netmask "$config" netmask [ -z "$netmask" -o -z "$device" ] || ifconfig $device netmask $netmask - # make sure the network state references the correct ifname - scan_ppp "$config" - config_get ifname "$config" ifname - uci_set_state network "$config" ifname "$ifname" - config_get mtu "$config" mtu mtu=${mtu:-1452} start_pppd "$config" \ _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel