diff options
Diffstat (limited to 'src/plugins/l2tp/l2tp.c')
-rw-r--r-- | src/plugins/l2tp/l2tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/l2tp/l2tp.c b/src/plugins/l2tp/l2tp.c index 08fa6d1e60b..a975fa7f059 100644 --- a/src/plugins/l2tp/l2tp.c +++ b/src/plugins/l2tp/l2tp.c @@ -377,7 +377,7 @@ create_l2tpv3_ipv6_tunnel (l2t_main_t * lm, { hw_if_index = lm->free_l2tpv3_tunnel_hw_if_indices [vec_len (lm->free_l2tpv3_tunnel_hw_if_indices) - 1]; - _vec_len (lm->free_l2tpv3_tunnel_hw_if_indices) -= 1; + vec_dec_len (lm->free_l2tpv3_tunnel_hw_if_indices, 1); hi = vnet_get_hw_interface (vnm, hw_if_index); hi->dev_instance = s - lm->sessions; |