vpp: binary-api CLI weak linking workaround 85/35685/1
authorDamjan Marion <damarion@cisco.com>
Tue, 15 Mar 2022 11:15:45 +0000 (12:15 +0100)
committerDamjan Marion <damarion@cisco.com>
Wed, 16 Mar 2022 15:43:26 +0000 (16:43 +0100)
For some unknown reason sometimes calling exec() ends up on weak
exec() defined in src/vat/api_format.c which return -1 instead of using
one few lines above.

Another proof that use of weak symbols is bad idea.

Luckily this can be easily workarounded.

Type: fix
Change-Id: Ic84e8525bff75c1b8186c233cd524aac4d95c8b5
Signed-off-by: Damjan Marion <damarion@cisco.com>

No differences found