X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f66ab6474e8ec7ef0b0db8485b9675ee0bccce5b..ecfdcd7b1783df2e93bd2557823764b408719349:/package/pptp/files/pptp.sh diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index ba0e37669..e38c24200 100644 --- a/package/pptp/files/pptp.sh +++ b/package/pptp/files/pptp.sh @@ -13,7 +13,7 @@ setup_interface_pptp() { config_get device "$config" device config_get ipproto "$config" ipproto - config_get server "$cfg" server + config_get server "$config" server for module in slhc ppp_generic ppp_async ip_gre; do /sbin/insmod $module 2>&- >&- @@ -36,7 +36,7 @@ setup_interface_pptp() { config_get ifname "$config" ifname uci_set_state network "$config" ifname "$ifname" - config_get mtu "$cfg" mtu + config_get mtu "$config" mtu mtu=${mtu:-1452} start_pppd "$config" \ pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd" \