projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ag71xx: fix a memory corruption bug that happens if you flood the interface with...
[openwrt.git]
/
package
/
ppp
/
files
/
ppp.sh
diff --git
a/package/ppp/files/ppp.sh
b/package/ppp/files/ppp.sh
index
53cfb1b
..
46a66c9
100644
(file)
--- a/
package/ppp/files/ppp.sh
+++ b/
package/ppp/files/ppp.sh
@@
-92,11
+92,11
@@
start_pppd() {
}
local demand
}
local demand
- config_get
_bool
demand "$cfg" demand 0
+ config_get demand "$cfg" demand 0
local demandargs
local demandargs
- [ "$demand" -
eq 1
] && {
- demandargs="precompiled-active-filter /etc/ppp/filter demand idle"
+ [ "$demand" -
gt 0
] && {
+ demandargs="precompiled-active-filter /etc/ppp/filter demand idle
$demand
"
[ "$has_dns" -eq 0 ] && add_dns "$cfg" 1.1.1.1
} || {
demandargs="persist"
[ "$has_dns" -eq 0 ] && add_dns "$cfg" 1.1.1.1
} || {
demandargs="persist"
This page took
0.026172 seconds
and
4
git commands to generate.