Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
FIB code coverity found defect
[vpp.git]
/
src
/
vnet
/
fib
/
fib_api.c
diff --git
a/src/vnet/fib/fib_api.c
b/src/vnet/fib/fib_api.c
index
a180cb9
..
0c41d3c
100644
(file)
--- 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_IP
6
== api_rpath->rpath.frp_proto))
+ (DPO_PROTO_IP
4
== api_rpath->rpath.frp_proto))
{
fib_table_t *fib;