]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - proto/rip/rip.c
Minor cleanups and fixes
[thirdparty/bird.git] / proto / rip / rip.c
index 157093aabaf3babaa01d07d6ba24e89032cc2061..55fb47c569a941bb025a512066bc468051d7f26f 100644 (file)
@@ -684,7 +684,7 @@ rip_reconfigure_iface(struct rip_proto *p, struct rip_iface *ifa, struct rip_ifa
 
   rip_iface_update_buffers(ifa);
 
-  if (ifa->next_regular > (now + new->update_time))
+  if (ifa->next_regular > (now + (bird_clock_t) new->update_time))
     ifa->next_regular = now + (random() % new->update_time) + 1;
 
   if (new->check_link != old->check_link)