NAT: fixed bug in snat_get_worker_out2in_cb (VPP-832)
Change-Id: Id9c977634a1259865e3403ba0d90aecaca85207d Signed-off-by: Matus Fabian <matfabia@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
20754e6667
commit
7d6412e66d
@ -2081,6 +2081,8 @@ snat_get_worker_out2in_cb (ip4_header_t * ip0, u32 rx_fib_index0)
|
||||
}
|
||||
|
||||
/* Add to translated packets worker lookup */
|
||||
key0.port = udp0->dst_port;
|
||||
kv0.key = key0.as_u64;
|
||||
kv0.value = next_worker_index;
|
||||
clib_bihash_add_del_8_8 (&sm->worker_by_out, &kv0, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user