summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/gre/interface.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/gre/interface.c b/src/vnet/gre/interface.c
index 30dfa3057b1..f2c679cb9b5 100644
--- a/src/vnet/gre/interface.c
+++ b/src/vnet/gre/interface.c
@@ -225,9 +225,11 @@ gre_tunnel_restack (gre_tunnel_t * gt)
switch (gt->mode)
{
case TUNNEL_MODE_P2P:
- return (adj_nbr_walk (gt->sw_if_index, proto, gre_adj_walk_cb, NULL));
+ adj_nbr_walk (gt->sw_if_index, proto, gre_adj_walk_cb, NULL);
+ break;
case TUNNEL_MODE_MP:
- return (adj_nbr_walk (gt->sw_if_index, proto, mgre_adj_walk_cb, NULL));
+ adj_nbr_walk (gt->sw_if_index, proto, mgre_adj_walk_cb, NULL);
+ break;
}
}
}