diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-13 13:49:00 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-13 17:24:03 +0400 |
commit | fc30dc8a5461c5f1b97faef85d12ecc8aa759723 (patch) | |
tree | da04cd1b241f011929979270e34903ad6ff294e2 /accel-pppd/log.h | |
parent | 7e14fe6e37890591e4d6c9a0f36b5ac19571a14e (diff) | |
download | accel-ppp-xebd-fc30dc8a5461c5f1b97faef85d12ecc8aa759723.tar.gz accel-ppp-xebd-fc30dc8a5461c5f1b97faef85d12ecc8aa759723.zip |
cli: Notify user of failed commands
Handle CLI_CMD_FAILED like other command errors (i.e. return 0 to the
caller and send a generic error message).
This makes the CLI handler to flush its input buffer, so that
processing of the next command will be made correctly. This also makes
the telnet handler to send its prompt message.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/log.h')
0 files changed, 0 insertions, 0 deletions