mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
ppp: block restart of interfaces if pppd refused the command line options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32160 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c7a15aa54a
commit
70f4fb23cd
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user