projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ppp: block restart of interfaces if pppd refused the command line options
[openwrt/staging/yousong.git]
/
package
/
ppp
/
files
/
ppp.sh
diff --git
a/package/ppp/files/ppp.sh
b/package/ppp/files/ppp.sh
index 7d475a985b28d7f7a76d227b2734c7f553a67864..98099dba542e441c79775f8928b7455b1b702b6d 100755
(executable)
--- a/
package/ppp/files/ppp.sh
+++ b/
package/ppp/files/ppp.sh
@@
-72,6
+72,10
@@
ppp_generic_teardown() {
proto_notify_error "$interface" AUTH_FAILED
proto_block_restart "$interface"
;;
+ 2)
+ proto_notify_error "$interface" INVALID_OPTIONS
+ proto_block_restart "$interface"
+ ;;
esac
proto_kill_command "$interface"
}