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:
db42b7b
)
[VPP-703]uri_tcp_test segment fault when mp->retval reply -30
85/6285/2
author
flyingeagle23
<wang.hui56@zte.com.cn>
Thu, 20 Apr 2017 06:46:08 +0000
(14:46 +0800)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 21 Apr 2017 15:00:03 +0000
(15:00 +0000)
Change-Id: I9d2e1f3434f66d9ae9cf40fe9043d0c4b384ef44
Signed-off-by: flyingeagle23 <wang.hui56@zte.com.cn>
src/uri/uri_tcp_test.c
patch
|
blob
|
history
diff --git
a/src/uri/uri_tcp_test.c
b/src/uri/uri_tcp_test.c
index
ca053a2
..
2e15d36
100755
(executable)
--- a/
src/uri/uri_tcp_test.c
+++ b/
src/uri/uri_tcp_test.c
@@
-192,7
+192,7
@@
vl_api_application_attach_reply_t_handler (vl_api_application_attach_reply_t *
if (mp->retval)
{
if (mp->retval)
{
- uword *errp = hash_get (utm->error_string_by_error_number, mp->retval);
+ uword *errp = hash_get (utm->error_string_by_error_number,
-
mp->retval);
clib_warning ("attach failed: %s", *errp);
utm->state = STATE_FAILED;
return;
clib_warning ("attach failed: %s", *errp);
utm->state = STATE_FAILED;
return;