api_helper_macro mp->pid is network endian
Change-Id: I7d2385b9e9bf5a62f3e9382ca2627a74a4e30785 Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
@ -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 { \
|
||||
|
Reference in New Issue
Block a user