diff options
Diffstat (limited to 'ripngd')
-rw-r--r-- | ripngd/ripng_peer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ripngd/ripng_peer.c b/ripngd/ripng_peer.c index 2a412f9b6..cd46d9740 100644 --- a/ripngd/ripng_peer.c +++ b/ripngd/ripng_peer.c @@ -151,10 +151,6 @@ static char *ripng_peer_uptime(struct ripng_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); |