summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_punt_drop.c
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2021-08-10 15:05:29 +0200
committerNeale Ranns <neale@graphiant.com>2021-08-13 18:29:23 +0000
commit2a1783fd6ae7e17c994010fca414c180eb48bc40 (patch)
treec7f12d0894ccd57a3098da77414338cb394c5efc /src/vnet/ip/ip_punt_drop.c
parent8034a36a9cedc95f6762bf0a07f6617d0bf69bfe (diff)
ip: punt redirect add nh in api
Type: feature Change-Id: Ia970f444ba2f38b7a42ea94942c906f1b541511b Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/ip/ip_punt_drop.c')
-rw-r--r--src/vnet/ip/ip_punt_drop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/ip/ip_punt_drop.c b/src/vnet/ip/ip_punt_drop.c
index f3388007b4a..bf01adadb10 100644
--- a/src/vnet/ip/ip_punt_drop.c
+++ b/src/vnet/ip/ip_punt_drop.c
@@ -69,9 +69,9 @@ ip_punt_redirect_find (fib_protocol_t fproto, u32 rx_sw_if_index)
}
void
-ip_punt_redirect_add (fib_protocol_t fproto,
- u32 rx_sw_if_index,
- fib_forward_chain_type_t ct, fib_route_path_t * rpaths)
+ip_punt_redirect_add (fib_protocol_t fproto, u32 rx_sw_if_index,
+ fib_forward_chain_type_t ct,
+ const fib_route_path_t *rpaths)
{
ip_punt_redirect_rx_t *ipr;
index_t ipri;