nat: fix coverity warning 98/34098/1
authorKlement Sekera <ksekera@cisco.com>
Wed, 13 Oct 2021 19:18:59 +0000 (21:18 +0200)
committerKlement Sekera <ksekera@cisco.com>
Wed, 13 Oct 2021 19:18:59 +0000 (21:18 +0200)
commit1e4281223ab4d655b54496ae13fbdb68f867e351
tree737e43b5cda313512fd31f99aa40fa5d5a215208
parentd4a70647e6b8de2cb81cbea3c53d08c299b65cc5
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: I9b5e8c08346bea1e2b460bb09e962c4b8d3b6947
src/plugins/nat/nat44-ed/nat44_ed_cli.c