vpp-swan: Fix segfault for multiple addresses 92/37692/3
authorTimur Celik <mail@timurcelik.de>
Tue, 22 Nov 2022 16:03:14 +0000 (17:03 +0100)
committerFan Zhang <fanzhang.oss@gmail.com>
Wed, 23 Nov 2022 14:46:32 +0000 (14:46 +0000)
commit20721177ecff92edd7b0d0739ca5dc3121791f6f
tree78cc05f27303008191ef84eed2f9bba719187771
parentf0781829d5145f288a2e42978d91bc8df9c50ca4
vpp-swan: Fix segfault for multiple addresses

In order to loop over the list of `vl_api_ip_address_details_t`,
increment the pointer by one instead of `i`.

Type: fix
Change-Id: I8554d1388d67bb95e029eddf444d383fb85ecac7
Signed-off-by: Timur Celik <mail@timurcelik.de>
extras/strongswan/vpp_sswan/kernel_vpp_net.c