diff options
author | Neale Ranns <nranns@cisco.com> | 2019-12-02 23:28:50 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-12-03 19:59:31 +0000 |
commit | 960eeea7ea48d91c1f2ec3a85a7a84f56619be2a (patch) | |
tree | 3ca930048e90cb1ff2b2c9115331d5de9005001c /src/vnet/ipip/ipip.c | |
parent | 9534696b4637185c9f296375e63c50d8976d153d (diff) |
fib: constify the adjacency in the rewrite nodes
Type: refactor
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I3aad20b35d89fc541fdf185096d71ca12b09a6e2
Diffstat (limited to 'src/vnet/ipip/ipip.c')
-rw-r--r-- | src/vnet/ipip/ipip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ipip/ipip.c b/src/vnet/ipip/ipip.c index 15f453a8c7e..fc71b5b76df 100644 --- a/src/vnet/ipip/ipip.c +++ b/src/vnet/ipip/ipip.c @@ -104,7 +104,7 @@ ipip_build_rewrite (vnet_main_t * vnm, u32 sw_if_index, } static void -ipip4_fixup (vlib_main_t * vm, ip_adjacency_t * adj, vlib_buffer_t * b, +ipip4_fixup (vlib_main_t * vm, const ip_adjacency_t * adj, vlib_buffer_t * b, const void *data) { ip4_header_t *ip4; @@ -145,7 +145,7 @@ ipip4_fixup (vlib_main_t * vm, ip_adjacency_t * adj, vlib_buffer_t * b, } static void -ipip6_fixup (vlib_main_t * vm, ip_adjacency_t * adj, vlib_buffer_t * b, +ipip6_fixup (vlib_main_t * vm, const ip_adjacency_t * adj, vlib_buffer_t * b, const void *data) { ip6_header_t *ip6; |