diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-23 13:12:25 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-23 13:12:25 +0200 |
commit | 734e9fb8a933898cd3396786c06728bce6a754e5 (patch) | |
tree | 610ffaa2286fc604be4b2f1c30a983f0076b1da8 /proto/rip/packets.c | |
parent | bb7aa06a48f52813a019861a0e06ce9fe4d20c4b (diff) |
Minor cleanups and fixes
Diffstat (limited to 'proto/rip/packets.c')
-rw-r--r-- | proto/rip/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/packets.c b/proto/rip/packets.c index 9dc492b7..e97809c8 100644 --- a/proto/rip/packets.c +++ b/proto/rip/packets.c @@ -450,7 +450,7 @@ rip_send_response(struct rip_proto *p, struct rip_iface *ifa) /* Stale entries that should be removed */ if ((en->valid == RIP_ENTRY_STALE) && - ((en->changed + ifa->cf->garbage_time) <= now)) + ((en->changed + (bird_clock_t) ifa->cf->garbage_time) <= now)) goto next_entry; /* Triggered updates */ |