diff options
author | Neale Ranns <nranns@cisco.com> | 2019-02-22 12:40:53 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-26 20:40:46 +0000 |
commit | 8d6723968945d686b94f780b5a755fd3a73d4be6 (patch) | |
tree | 1432d159b831e81d3ea8b80f177cbd183e6fe38c /src/vnet/adj | |
parent | 327fbae5959f52c7fe670d8d204faaf2c8781a17 (diff) |
Callback functions must have the correct signature
Change-Id: I642823bdc3c7006a0b719ec1e3a9cd75b2b37253
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit 8f215b4a03a98bf94931a09b23ab0fbd8ccd1ab9)
Diffstat (limited to 'src/vnet/adj')
-rw-r--r-- | src/vnet/adj/adj.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c index b844073ecfb..3ca3d6015f9 100644 --- a/src/vnet/adj/adj.c +++ b/src/vnet/adj/adj.c @@ -431,10 +431,12 @@ adj_mtu_update_walk_cb (adj_index_t ai, return (ADJ_WALK_RC_CONTINUE); } -static void +static clib_error_t * adj_mtu_update (vnet_main_t * vnm, u32 sw_if_index, u32 flags) { adj_walk (sw_if_index, adj_mtu_update_walk_cb, NULL); + + return (NULL); } VNET_SW_INTERFACE_MTU_CHANGE_FUNCTION(adj_mtu_update); |