diff options
Diffstat (limited to 'zebra/irdp_main.c')
-rw-r--r-- | zebra/irdp_main.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/zebra/irdp_main.c b/zebra/irdp_main.c index 7fa4ad4cb..963c330af 100644 --- a/zebra/irdp_main.c +++ b/zebra/irdp_main.c @@ -114,7 +114,7 @@ irdp_sock_init (void) return ret; }; - t_irdp_raw = thread_add_read (zebrad.master, irdp_read_raw, NULL, sock); + t_irdp_raw = thread_add_read(zebrad.master, irdp_read_raw, NULL, sock, NULL); return sock; } @@ -244,7 +244,8 @@ int irdp_send_thread(struct thread *t_advert) if(irdp->flags & IF_DEBUG_MISC) zlog_debug("IRDP: New timer for %s set to %u\n", ifp->name, timer); - irdp->t_advertise = thread_add_timer(zebrad.master, irdp_send_thread, ifp, timer); + irdp->t_advertise = thread_add_timer(zebrad.master, irdp_send_thread, ifp, + timer, NULL); return 0; } @@ -296,10 +297,8 @@ void process_solicit (struct interface *ifp) timer = (random () % MAX_RESPONSE_DELAY) + 1; - irdp->t_advertise = thread_add_timer(zebrad.master, - irdp_send_thread, - ifp, - timer); + irdp->t_advertise = thread_add_timer(zebrad.master, irdp_send_thread, ifp, + timer, NULL); } void irdp_finish() |