projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
acx-mac80211 fixes:
[openwrt.git]
/
package
/
pptp
/
files
/
pptp.sh
diff --git
a/package/pptp/files/pptp.sh
b/package/pptp/files/pptp.sh
index
fffa625
..
4d03af0
100644
(file)
--- a/
package/pptp/files/pptp.sh
+++ b/
package/pptp/files/pptp.sh
@@
-7,17
+7,18
@@
setup_interface_pptp() {
local config="$2"
config_get device "$config" device
local config="$2"
config_get device "$config" device
+ config_get ipproto "$config" ipproto
for module in slhc ppp_generic ppp_async ip_gre; do
/sbin/insmod $module 2>&- >&-
done
for module in slhc ppp_generic ppp_async ip_gre; do
/sbin/insmod $module 2>&- >&-
done
- setup_interface "$iface" "$config" "
dhcp
"
+ setup_interface "$iface" "$config" "
${ipproto:-dhcp}
"
config_get mtu "$cfg" mtu
config_get server "$cfg" server
mtu=${mtu:-1452}
start_pppd "$config" \
config_get mtu "$cfg" mtu
config_get server "$cfg" server
mtu=${mtu:-1452}
start_pppd "$config" \
- pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd"
- file /etc/ppp/options.pptp
+ pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd"
\
+ file /etc/ppp/options.pptp
\
mtu $mtu mru $mtu
}
mtu $mtu mru $mtu
}
This page took
0.022306 seconds
and
4
git commands to generate.