lldp: protection code to check a valid interface index 26/9026/2
authorSteve Shin <jonshin@cisco.com>
Wed, 25 Oct 2017 18:16:45 +0000 (11:16 -0700)
committerJohn Lo <loj@cisco.com>
Wed, 25 Oct 2017 20:14:01 +0000 (20:14 +0000)
commitcda4c88de76fb37105d6bcb7115f5f6fcd107b9b
tree5f7c49ebd7990618e1f005fca472bacd6dd5683d
parent6476b3c1484eed25eeab23774a248a3f8593578e
lldp: protection code to check a valid interface index

When lldp interface is set, it's better to check valid interface index.

Change-Id: I0db0ab6483ad73d28c69893576aa9b719c3b087c
Signed-off-by: Steve Shin <jonshin@cisco.com>
src/vnet/lldp/lldp_cli.c