diff options
author | Steven <sluong@cisco.com> | 2017-07-21 16:38:41 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-07-27 08:12:31 +0000 |
commit | 2ee2d57c3ac63c8fdcdae53366e29b7dcdb2014d (patch) | |
tree | 92db9b84e527eebd91acce333bdb9b87e5e81df2 /src/vlib/unix | |
parent | 5b75b6b73b7943dcb066b79a23cd7515b0e92e2a (diff) |
vhost: debug vhost-user command needs better error checking on the syntax (VPP-916)
The syntax for debug vhost-user is
debug vhost-user <on | off>
However, currently the code does not reject the invalid command such as below
debug vhost-user
debug vhost-user on blah
debug vhost-user off blah
The fix is to enforece the correct syntax and reject the command when invalid
option is entered.
Change-Id: I1a04ae8ddb6dd299aa6d15b043362964e685ddde
Signed-off-by: Steven <sluong@cisco.com>
(cherry picked from commit 6a4de2764d9e6cadf36af824dddb3f33c2d6dc7e)
Diffstat (limited to 'src/vlib/unix')
0 files changed, 0 insertions, 0 deletions