ppp: Detailed last error support
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)
commit9c86f767adca69c730a06ae193584347573b076c
tree2101e31d7e6d63d8e55e053baf068e18c58b06bf
parente756ddff1f802d65a2cf9db679c9cb6b0a03fcfb
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45333 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/ppp/files/ppp.sh