api_helper_macro mp->pid is network endian

Change-Id: I7d2385b9e9bf5a62f3e9382ca2627a74a4e30785
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2019-01-07 22:17:31 +01:00
committed by Damjan Marion
parent 04575c5e47
commit 32ef1376d0

View File

@ -183,7 +183,7 @@ static void vl_api_want_##lca##_t_handler ( \
p = hash_get (vam->lca##_registration_hash, mp->client_index); \
if (p) { \
if (mp->enable_disable) { \
clib_warning ("pid %d: already enabled...", mp->pid); \
clib_warning ("pid %d: already enabled...", ntohl(mp->pid)); \
rv = VNET_API_ERROR_INVALID_REGISTRATION; \
goto reply; \
} else { \