Fix for potential use of uninitialized variables 26/3126/2
authorIgor Mikhailov (imichail) <imichail@cisco.com>
Sun, 25 Sep 2016 22:11:53 +0000 (15:11 -0700)
committerJohn Lo <loj@cisco.com>
Mon, 26 Sep 2016 21:50:10 +0000 (21:50 +0000)
commitab3e42b08db051eca5c4516e80ae6c428615a8f9
tree60aa18bc1f5afb8f36a8e50a7dbdb0b3e441580d
parent271ad32d25bbc4e6ebc7aa113f04610112819f34
Fix for potential use of uninitialized variables

The code allowed for the command 'set interface unnumbered'
to be processed without specifying any parameters,
thus the set logic of the command would have been using uninitialized
variables 'unnumbered_sw_if_index' and 'inherit_from_sw_if_index'.

Change-Id: I4de14fa1096527c5c48f74304db379f9953760a8
Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
vnet/vnet/interface_cli.c