Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
de6c03c
)
session: fill in bind handle for sock flavored api (VPP-1005)
53/8653/3
author
Florin Coras
<fcoras@cisco.com>
Wed, 4 Oct 2017 09:07:46 +0000
(
05:07
-0400)
committer
Chris Luke
<chris_luke@comcast.com>
Wed, 4 Oct 2017 22:03:14 +0000
(22:03 +0000)
Change-Id: I492bea060ba5c219ea75e19ebfdad79b1074e04b
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session/session_api.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/session_api.c
b/src/vnet/session/session_api.c
index
60d9b4d
..
250f990
100755
(executable)
--- a/
src/vnet/session/session_api.c
+++ b/
src/vnet/session/session_api.c
@@
-605,7
+605,12
@@
vl_api_bind_sock_t_handler (vl_api_bind_sock_t * mp)
rv = vnet_bind (a);
}
done:
- REPLY_MACRO (VL_API_BIND_SOCK_REPLY);
+ /* *INDENT-OFF* */
+ REPLY_MACRO2 (VL_API_BIND_SOCK_REPLY,({
+ if (!rv)
+ rmp->handle = a->handle;
+ }));
+ /* *INDENT-ONF* */
}
static void