- myself->status.visited = true;
- myself->status.indirect = false;
- myself->nexthop = myself;
- myself->prevedge = NULL;
- myself->via = myself;
- myself->distance = 0;
- list_insert_head(todo_list, myself);
+ mesh->self->status.visited = true;
+ mesh->self->status.indirect = false;
+ mesh->self->nexthop = mesh->self;
+ mesh->self->prevedge = NULL;
+ mesh->self->via = mesh->self;
+ mesh->self->distance = 0;
+ list_insert_head(todo_list, mesh->self);