CLI: If an error happens on the socket being polled, then the CLI 26/226/1
authorOle Troan <ot@cisco.com>
Wed, 27 Jan 2016 21:37:58 +0000 (23:37 +0200)
committerOle Troan <ot@cisco.com>
Wed, 27 Jan 2016 21:37:58 +0000 (23:37 +0200)
commit4b12b3c35ae6fb7941ba82599f9eb564f5439427
tree01631c4e0f61cff110f28a74497f93bbeceb2e03
parentefe710fe56f9dc6117f5777dc1f9dbd6748352e4
CLI: If an error happens on the socket being polled, then the CLI
does not close the socket. Resulting in the main thread being stuck
in a tight infinite loop polling on the erronous socket.

Change-Id: I630b84b97c059acce117d56e41cd201131db4cab
Signed-off-by: Ole Troan <ot@cisco.com>
vlib/vlib/unix/input.c