summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/fib/fib_api.c')
-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 a2f7e79b03c..a180cb94c7e 100644
--- a/src/vnet/fib/fib_api.c
+++ b/src/vnet/fib/fib_api.c
@@ -217,7 +217,7 @@ fib_api_path_encode (const fib_route_path_encode_t * api_rpath,
out->is_drop = true;
break;
case DPO_IP_NULL:
- switch (api_rpath->dpo.dpoi_index)
+ switch (ip_null_dpo_get_action(api_rpath->dpo.dpoi_index))
{
case IP_NULL_ACTION_NONE:
out->is_drop = true;