diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-03-24 17:26:57 +0100 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-03-25 18:34:57 +0000 |
commit | 403f9b54309a55cd5e1222db11b4571324f5bf52 (patch) | |
tree | 80149dad10243d2be4c9a59ca303e90810b98aaa /src/plugins/nat/nat44-ei | |
parent | c2d30ade27b2b6e75b33724ff198c1fb3f4e71ff (diff) |
nat: fix bihash kvp print
Type: fix
Change-Id: I392d348b1a38affac8761b0614b117cd991958d7
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44-ei')
-rw-r--r-- | src/plugins/nat/nat44-ei/nat44_ei.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44-ei/nat44_ei.c b/src/plugins/nat/nat44-ei/nat44_ei.c index 9ee03626882..253dd78694d 100644 --- 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; } |