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:
38fddf0
)
ppp: block restart of interfaces if pppd refused the command line options
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Jun 2012 12:12:10 +0000
(12:12 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Jun 2012 12:12:10 +0000
(12:12 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32160
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
7d475a9
..
98099db
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"
}