diff options
author | Gao Feng <gfree.wind@outlook.com> | 2023-07-17 22:19:32 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-08-08 04:24:58 +0000 |
commit | 96600f907743729d25be38db292e093279e97d54 (patch) | |
tree | 4c060e8eeb3561d328e6fcd8167a6ab152262d99 /src/vnet/crypto/crypto.h | |
parent | 6508ed51a8184c00c662a1cbcdd0ff66266300a2 (diff) |
vcl: Fix the ldp init check
Maybe some function calls the wrapper funtion like read which invokes
the ldp_init_check in the other libs as a constructor before
ldp_constructor. Then the ldp has been initialized already when
ldp_constructor is invoked. And it's normal case, we shouldn't treat it
as an error.
So ldp_init should return success if ldp is initialized already instead
of an assert.
Type: fix
Change-Id: Ifa2a7b1d5471981a3f840b14a4fa5d48fb1f1374
Signed-off-by: Gao Feng <gfree.wind@outlook.com>
Diffstat (limited to 'src/vnet/crypto/crypto.h')
0 files changed, 0 insertions, 0 deletions