]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/irdp_interface.c
zebra: Move the master thread handler to the zrouter structure
[mirror_frr.git] / zebra / irdp_interface.c
index ffc49d2c1364d14149c5e9cd755fb111de012b07..c0b772cd014d49626cc6197f88eb709b544eb876 100644 (file)
@@ -45,7 +45,7 @@
 #include "zebra/interface.h"
 #include "zebra/rtadv.h"
 #include "zebra/rib.h"
-#include "zebra/zserv.h"
+#include "zebra/zebra_router.h"
 #include "zebra/redistribute.h"
 #include "zebra/irdp.h"
 #include "zebra/zebra_errors.h"
@@ -285,7 +285,7 @@ static void irdp_if_start(struct interface *ifp, int multicast,
                           timer);
 
        irdp->t_advertise = NULL;
-       thread_add_timer(zebrad.master, irdp_send_thread, ifp, timer,
+       thread_add_timer(zrouter.master, irdp_send_thread, ifp, timer,
                         &irdp->t_advertise);
 }