if(instance->bgp&&instance->bgp->local_node){if(route_insert(instance->rt,instance->bgp->local_node)){DEBUG_INFO(DEBUG_CATEGORY_ROUTING,"Added local routes from local_node");}else{DEBUG_WARN(DEBUG_CATEGORY_ROUTING,"Failed to add local routes");}}
// Initialize TUN device if enabled
if(g_tun_init_enabled){
instance->tun=tun_init(ua,config);
if(!instance->tun){
@ -85,8 +81,6 @@ static int instance_init_common(struct UTUN_INSTANCE* instance, struct UASYNC* u
if(route_insert(instance->rt,instance->bgp->local_node))DEBUG_INFO(DEBUG_CATEGORY_ROUTING,"Added local routes");elseDEBUG_WARN(DEBUG_CATEGORY_ROUTING,"Failed to add local routes");