summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_vtr.c
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2018-04-17 08:50:28 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-17 17:08:36 +0000
commit583f158b44d9644855441280e09afbf85a4557df (patch)
treeb5d8b88cb0c1562d85b6995e0a0be2c9593bba8b /src/vnet/l2/l2_vtr.c
parent216c35b2c6e5b4a728675f5141241420841cda34 (diff)
vhost: show vhost-user <interface> may crash [VPP-1242]
show vhost-user <interface> may cause a crash if interface is semi-bogus. Semi-bogus means it is a known vpp interface which has a hw_if_index, but it is bogus because it is not a vhost-user interface. The fix is to add a check to reject non vhost-user interface for the command. Change-Id: I63f1e8bfbf46f5ec4c30f9fb3546982b63cd7cc5 Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_vtr.c')
0 files changed, 0 insertions, 0 deletions