vpp-swan: fix function to get sw_if_index 04/39204/3
authorGabriel Oginski <gabrielx.oginski@intel.com>
Thu, 6 Jul 2023 09:18:45 +0000 (09:18 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Wed, 19 Jul 2023 02:31:21 +0000 (02:31 +0000)
commit73d82d1273a358d119ee8905cfd401a3f16ae655
tree9dde3142ddb004e42c06bfb4047ff13b5f11c965
parentf72a32a1e45580bdab843fc1b3fb37c5fa7996dc
vpp-swan: fix function to get sw_if_index

In the current implementation there is a bug in the function
responsible for getting software interface index by the name of the
interface. Incorrect function is used to send the API message, also
the handler with replied message is incorrect.

The fix changes function to send dump message and also adds handler
with replied message in the correct way.

Type: fix
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: Id1a3ba2ce7e92d216907f344431b9e2acb1d5572
extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c