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)
commit5e76cd7b046f21e9b47f01f76e064fac8e0fb6eb
tree2101e31d7e6d63d8e55e053baf068e18c58b06bf
parent7515796f3e47bbd10355682801597a3a56755476
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