diff options
Diffstat (limited to 'ripngd')
-rw-r--r-- | ripngd/ChangeLog | 4 | ||||
-rw-r--r-- | ripngd/ripngd.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ripngd/ChangeLog b/ripngd/ChangeLog index 2ad753ab..b8c24c6a 100644 --- a/ripngd/ChangeLog +++ b/ripngd/ChangeLog @@ -1,3 +1,7 @@ +2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * ripngd.c: (ripng_vty_out_uptime) Remove unused variable timer_now. + 2007-04-12 Emmanuel Vize <emmanuel.vize@6wind.com> * ripngd.c: (ripng_vty_out_uptime and show_ipv6_ripng_status) diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 13a874a4..a8277fe2 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -1927,15 +1927,12 @@ ripng_event (enum ripng_event event, int sock) static void ripng_vty_out_uptime (struct vty *vty, struct ripng_info *rinfo) { - struct timeval timer_now; time_t clock; struct tm *tm; #define TIME_BUF 25 char timebuf [TIME_BUF]; struct thread *thread; - gettimeofday (&timer_now, NULL); - if ((thread = rinfo->t_timeout) != NULL) { clock = thread_timer_remain_second (thread); |