ioam: do not reuse existing vnet symbol 84/26684/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 24 Apr 2020 07:20:13 +0000 (09:20 +0200)
committerDave Barach <openvpp@barachs.net>
Mon, 27 Apr 2020 15:04:37 +0000 (15:04 +0000)
commit83ceffcd980494c6146ca67a0fa709b2c37ef13e
tree1f894bc6a6657c41a83ebdcdec6fda7e310aee83
parenta66971f980187efd03a84d340b80a7d3cf39deac
ioam: do not reuse existing vnet symbol

vxlan_gpe_init() is already defined in libvnet. When loading ioam plugin
we end up having 2 different objects using the same symbol.
ASan in GCC-10 started to enforce the One-Definition-Rule and it seems
like good hygiene anyway.

Type: fix

Change-Id: I2ea9af1821bca6482a290742e9a109fc25692f37
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_api.c