ppp: Detailed last error support
authorJohn Crispin <blogic@openwrt.org>
Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)
commitb80d9119df120891a20be6892d72df2c3277e1fc
tree2101e31d7e6d63d8e55e053baf068e18c58b06bf
parentc4c00fbfabbd66d56e508f60326e0a3a6fdd4f76
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