Fix ARP show exception when not ARP entries as found. 12/312/1
authorKeith Wiles <keith.wiles@intel.com>
Fri, 12 Feb 2016 01:21:10 +0000 (19:21 -0600)
committerKeith Wiles <keith.wiles@intel.com>
Fri, 12 Feb 2016 19:23:28 +0000 (13:23 -0600)
commitcb46684aacb226285807d145a18e1acf8ed21ca0
tree17131667ac8768187a7ed8d0a92e994b2e34400b
parent52642c3c535128cb96489fed45327bdd55953397
Fix ARP show exception when not ARP entries as found.

The fix tests if the ARP table exist before attempting to
interate over the entries.

Change-Id: I22cad5ba3a01c3fba1feac33745a29ff1f7f8fe1
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
vnet/vnet/ethernet/arp.c