Fix sw-if-index display error. 22/13022/10
authorBrant Lin <brant.lin@ericsson.com>
Wed, 13 Jun 2018 10:01:58 +0000 (06:01 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 20 Jun 2018 05:25:21 +0000 (05:25 +0000)
commit285434a858d2b53b15c572ad491b9ca3b40fcef3
treec6c62f9252f56ab4088f927094bf342b189b69c8
parentd239f8d1637c538332a7dbabf67e115c65bfb19d
Fix sw-if-index display error.

If the sw-if-index is set to -1, it will send out all interfaces' arp enties. In this case, the sw-if-index is always set to -1. It is not correct.

Change-Id: I21e9ee078c757ac7efa70a2a1f1a7a4eb73d66a1
Signed-off-by: Brant Lin <brant.lin@ericsson.com>
src/vnet/ip/ip_api.c