diff options
Diffstat (limited to 'src/vnet/bfd/bfd_main.c')
-rw-r--r-- | src/vnet/bfd/bfd_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/bfd/bfd_main.c b/src/vnet/bfd/bfd_main.c index 3570ae03291..4b8975732af 100644 --- a/src/vnet/bfd/bfd_main.c +++ b/src/vnet/bfd/bfd_main.c @@ -332,6 +332,7 @@ bfd_set_timer (bfd_main_t * bm, bfd_session_t * bs, u64 now, "wheel_time_ticks %u", bs->event_time_nsec, bs->event_time_nsec - now, (bs->event_time_nsec - now) * SEC_PER_NSEC, wheel_time_ticks); + wheel_time_ticks = wheel_time_ticks ? wheel_time_ticks : 1; bfd_lock (bm); if (bs->tw_id) { |