]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/main.c
zebra: Move the master thread handler to the zrouter structure
[mirror_frr.git] / zebra / main.c
index b54c36c109eaea698141dc73e224aefe9b862d0b..16a5ad53c91d3b87e199c0f21db2153c4bcd2fb3 100644 (file)
@@ -391,7 +391,7 @@ int main(int argc, char **argv)
                }
        }
 
-       zebrad.master = frr_init();
+       zrouter.master = frr_init();
 
        /* Initialize pthread library */
        frr_pthread_init();
@@ -479,7 +479,7 @@ int main(int argc, char **argv)
 #endif /* HANDLE_NETLINK_FUZZING */
 
 
-       frr_run(zebrad.master);
+       frr_run(zrouter.master);
 
        /* Not reached... */
        return 0;