diff options
Diffstat (limited to 'ripd/rip_peer.c')
-rw-r--r-- | ripd/rip_peer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ripd/rip_peer.c b/ripd/rip_peer.c index 763bfc142..0a6337bf7 100644 --- a/ripd/rip_peer.c +++ b/ripd/rip_peer.c @@ -143,10 +143,6 @@ static char *rip_peer_uptime(struct rip_peer *peer, char *buf, size_t len) uptime -= peer->uptime; tm = gmtime(&uptime); -/* Making formatted timer strings. */ -#define ONE_DAY_SECOND 60*60*24 -#define ONE_WEEK_SECOND 60*60*24*7 - if (uptime < ONE_DAY_SECOND) snprintf(buf, len, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec); |