From: Neale Ranns Date: Mon, 19 Mar 2018 09:43:28 +0000 (-0700) Subject: FIB code coverity found defect X-Git-Tag: v18.04-rc1~103 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=26600e6e33ffb516ef6fefcbf0b5e554e38a3929;p=vpp.git FIB code coverity found defect Change-Id: I7cdc29dd6481242aaace75138cc34e2f5ea76b81 Signed-off-by: Neale Ranns --- diff --git a/src/vnet/fib/fib_api.c b/src/vnet/fib/fib_api.c index a180cb94c7e..0c41d3cee83 100644 --- a/src/vnet/fib/fib_api.c +++ b/src/vnet/fib/fib_api.c @@ -245,7 +245,7 @@ fib_api_path_encode (const fib_route_path_encode_t * api_rpath, !ip46_address_is_zero(&api_rpath->rpath.frp_addr)) { if ((DPO_PROTO_IP6 == api_rpath->rpath.frp_proto) || - (DPO_PROTO_IP6 == api_rpath->rpath.frp_proto)) + (DPO_PROTO_IP4 == api_rpath->rpath.frp_proto)) { fib_table_t *fib;