Revision 574b2324 proto/rip/packets.c

View differences:

proto/rip/packets.c
189 189
   * have the same CSN. We are using real time, but enforcing monotonicity.
190 190
   */
191 191
  if (ifa->cf->auth_type == RIP_AUTH_CRYPTO)
192
    ifa->csn = (ifa->csn < (u32) now_real) ? (u32) now_real : ifa->csn + 1;
192
  {
193
    u32 now_real = (u32) (current_real_time() TO_S);
194
    ifa->csn = (ifa->csn < now_real) ? now_real : ifa->csn + 1;
195
  }
193 196
}
194 197

  
195 198
static void

Also available in: Unified diff