nat: fix coverity 249202 30/37030/1
authorBenoît Ganne <bganne@cisco.com>
Mon, 29 Aug 2022 09:56:08 +0000 (11:56 +0200)
committerBenoît Ganne <bganne@cisco.com>
Mon, 29 Aug 2022 09:56:08 +0000 (11:56 +0200)
commitf4f1b959c070ce462846d5666d60dc5624dd271b
tree7b2ba630775b9b12437ddc1c8e81099747cf8756
parent8a34484057895cb583f46915274de71550ac0f2d
nat: fix coverity 249202

In case of a bad packet, the bihash kv is not initialized before being
copied in the trace. Make sure it is initialized to 0.

Type: fix

Change-Id: I22fcfe99f3586d0fa128493059547a56557b8fb5
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/nat/nat44-ed/nat44_ed_out2in.c