aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib
diff options
context:
space:
mode:
authorDmitry Vakhrushev <dmitry@netgate.com>2018-03-16 20:26:32 +0300
committerNeale Ranns <nranns@cisco.com>2018-03-19 11:17:48 +0000
commitf38bef46a3511249f352d18072f97a49f2c5b06c (patch)
treed9196729dae732b92a13b8565d22b99e597255c3 /src/vnet/fib
parent2ae2bc5380845d1480ec385749b7e8515e3b2185 (diff)
FIX: Fixed ip6_fib_dump api function response.
Change-Id: I26c5d61bc2f6188bcd4ecac4b5e9385821b0398b Signed-off-by: Dmitry Vakhrushev <dmitry@netgate.com>
Diffstat (limited to 'src/vnet/fib')
-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;