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:
c2d30ad
)
nat: fix bihash kvp print
50/31750/3
author
Klement Sekera
<ksekera@cisco.com>
Wed, 24 Mar 2021 16:26:57 +0000
(17:26 +0100)
committer
Ole Tr�an
<otroan@employees.org>
Thu, 25 Mar 2021 18:34:57 +0000
(18:34 +0000)
Type: fix
Change-Id: I392d348b1a38affac8761b0614b117cd991958d7
Signed-off-by: Klement Sekera <ksekera@cisco.com>
src/plugins/nat/nat44-ei/nat44_ei.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei.c
b/src/plugins/nat/nat44-ei/nat44_ei.c
index
9ee0362
..
253dd78
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei.c
+++ b/
src/plugins/nat/nat44-ei/nat44_ei.c
@@
-2364,8
+2364,9
@@
format_nat44_ei_session_kvp (u8 *s, va_list *args)
{
clib_bihash_kv_8_8_t *v = va_arg (*args, clib_bihash_kv_8_8_t *);
- s =
- format (s, "%U session-index %llu", format_nat44_ei_key, v->key, v->value);
+ s = format (s, "%U thread-index %llu session-index %llu",
+ format_nat44_ei_key, v->key, nat_value_get_thread_index (v),
+ nat_value_get_session_index (v));
return s;
}