ppp: block restart of interfaces if pppd refused the command line options
SVN-Revision: 32160
This commit is contained in:
parent
bfd06f261a
commit
378773f143
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ ppp_generic_teardown() {
|
||||||
proto_notify_error "$interface" AUTH_FAILED
|
proto_notify_error "$interface" AUTH_FAILED
|
||||||
proto_block_restart "$interface"
|
proto_block_restart "$interface"
|
||||||
;;
|
;;
|
||||||
|
2)
|
||||||
|
proto_notify_error "$interface" INVALID_OPTIONS
|
||||||
|
proto_block_restart "$interface"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
proto_kill_command "$interface"
|
proto_kill_command "$interface"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue