aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/fib/fib_api.c2
1 files changed, 1 insertions, 1 deletions
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;