Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
Conflicts: src/net.c src/net_packet.c src/net_socket.c
This commit is contained in:
commit
f5dc136cfd
8 changed files with 67 additions and 7 deletions
|
|
@ -239,6 +239,7 @@ void sssp_bfs(void) {
|
|||
myself->status.visited = true;
|
||||
myself->status.indirect = false;
|
||||
myself->nexthop = myself;
|
||||
myself->prevedge = NULL;
|
||||
myself->via = myself;
|
||||
list_insert_head(todo_list, myself);
|
||||
|
||||
|
|
@ -279,6 +280,7 @@ void sssp_bfs(void) {
|
|||
e->to->status.visited = true;
|
||||
e->to->status.indirect = indirect;
|
||||
e->to->nexthop = (n->nexthop == myself) ? e->to : n->nexthop;
|
||||
e->to->prevedge = e;
|
||||
e->to->via = indirect ? n->via : e->to;
|
||||
e->to->options = e->options;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue