projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fad67f
)
fix issues with multiple ppp links (noticed by Stefano Rivera)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 31 Aug 2007 16:19:19 +0000
(16:19 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 31 Aug 2007 16:19:19 +0000
(16:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8563
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/ppp/files/ppp.sh
patch
|
blob
|
history
diff --git
a/package/ppp/files/ppp.sh
b/package/ppp/files/ppp.sh
index
507f453
..
84def12
100644
(file)
--- a/
package/ppp/files/ppp.sh
+++ b/
package/ppp/files/ppp.sh
@@
-3,6
+3,7
@@
scan_ppp() {
pppdev="${pppdev:-0}"
config_set "$1" ifname "ppp$pppdev"
config_set "$1" unit "$pppdev"
+ pppdev="$(($pppdev + 1))"
}
start_pppd() {
@@
-38,6
+39,7
@@
start_pppd() {
defaultroute \
replacedefaultroute \
${username:+user "$username" password "$password"} \
+ unit "$pppdev" \
linkname "$cfg" \
ipparam "$cfg" \
${connect:+connect "$connect"} \