From: Felix Fietkau Date: Sun, 10 Jun 2012 12:12:10 +0000 (+0000) Subject: ppp: block restart of interfaces if pppd refused the command line options X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=90fedce06c27443205fb7f6d3d66aa4000bec388 ppp: block restart of interfaces if pppd refused the command line options SVN-Revision: 32160 --- diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh index 7d475a985b..98099dba54 100755 --- 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" }