nat: fix coverity warning 05/34205/2
authorKlement Sekera <ksekera@cisco.com>
Fri, 22 Oct 2021 10:52:34 +0000 (12:52 +0200)
committerDamjan Marion <dmarion@me.com>
Sat, 30 Oct 2021 11:04:12 +0000 (11:04 +0000)
commit001eb927db9ffb364d08440ca49266f70d674e6f
tree8dd9d81c0b61ff151f78d5a1d798883df0818e31
parentba87563bee400f8ce6d99842a6e455c898cf2c1d
nat: fix coverity warning

Fix coverity warning by initialising proto variable to a dummy value.
This value is never used because consuming function uses this parameter
value only if is_addr_only flag is not set and this flag is always set
if proto value is not provided by user.

Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I041bc821a392f0746ef9f07f9b259d62884305b7
src/plugins/nat/nat44-ei/nat44_ei_cli.c