summaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/ip_null_dpo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dpo/ip_null_dpo.c')
-rw-r--r--src/vnet/dpo/ip_null_dpo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/dpo/ip_null_dpo.c b/src/vnet/dpo/ip_null_dpo.c
index 22682e4eee4..e8804c067bd 100644
--- a/src/vnet/dpo/ip_null_dpo.c
+++ b/src/vnet/dpo/ip_null_dpo.c
@@ -96,6 +96,12 @@ ip_null_dpo_get (index_t indi)
return (&ip_null_dpos[indi]);
}
+ip_null_dpo_action_t
+ip_null_dpo_get_action (index_t indi)
+{
+ return (ip_null_dpos[indi].ind_action);
+}
+
static void
ip_null_dpo_lock (dpo_id_t *dpo)
{