]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/interface.c
zebra: Move the master thread handler to the zrouter structure
[mirror_frr.git] / zebra / interface.c
index 8bb5c6e8ef6a34e75a2db25c20c1d1d475830383..c88aadc68378e8a517efb9e969bdbf85060faa30 100644 (file)
@@ -41,7 +41,7 @@
 #include "zebra/interface.h"
 #include "zebra/rib.h"
 #include "zebra/rt.h"
-#include "zebra/zserv.h"
+#include "zebra/zebra_router.h"
 #include "zebra/redistribute.h"
 #include "zebra/debug.h"
 #include "zebra/irdp.h"
@@ -153,7 +153,7 @@ static int if_zebra_new_hook(struct interface *ifp)
         * of seconds and ask again.  Hopefully it's all settled
         * down upon startup.
         */
-       thread_add_timer(zebrad.master, if_zebra_speed_update, ifp, 15,
+       thread_add_timer(zrouter.master, if_zebra_speed_update, ifp, 15,
                         &zebra_if->speed_update);
        return 0;
 }