Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl: refactor test client to support workers
[vpp.git]
/
src
/
vnet
/
session
/
session_api.c
diff --git
a/src/vnet/session/session_api.c
b/src/vnet/session/session_api.c
index
d8531a4
..
6b72e7b
100755
(executable)
--- a/
src/vnet/session/session_api.c
+++ b/
src/vnet/session/session_api.c
@@
-1334,7
+1334,7
@@
vl_api_app_worker_add_del_t_handler (vl_api_app_worker_add_del_t * mp)
if (!reg)
return;
if (!reg)
return;
- app = application_lookup (
mp->app_api_index
);
+ app = application_lookup (
clib_net_to_host_u32 (mp->app_api_index)
);
if (!app)
{
rv = VNET_API_ERROR_INVALID_VALUE;
if (!app)
{
rv = VNET_API_ERROR_INVALID_VALUE;