ppp: Detailed last error support
authorJohn Crispin <john@openwrt.org>
Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)
commit4b0211b547cbb2645b939964f11a63b44b195178
treee308b81281fdae5d61f4e9e259e84aae992c439a
parent88fa9a8422a4352a34e33dc3229a561ec74e5b43
ppp: Detailed last error support

Enables last error support for the PPP protocol handlers.
In generic teardown the PPP daemon exit code is translated into
a self explaining error string which is set as interface error
by proto_notify_error in case of failure.

Signed-off-by: Johan Peeters <johan.peeters111@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 45333
package/network/services/ppp/files/ppp.sh