linux-cp: fix coverity 216937 26/37026/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 26 Aug 2022 13:59:35 +0000 (13:59 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 26 Aug 2022 14:57:00 +0000 (14:57 +0000)
commita01be735f25a9a4596d3f67ef71a094e601e8b65
treef8727eb87bf4e4c1cea03aa42170fe4acf2ae1dd
parentc8d1c8cfb80f1cf0d6dc128e9beea3fcb5c3d741
linux-cp: fix coverity 216937

Initialize the host_sw_if_index to ~0 so in the error cases
the variable is set to something predictable.

Type: fix
Change-Id: Ic55e4f0cbfa286e85dfb54b89b5321af18a439a1
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/linux-cp/lcp_interface.c