Send all packets in all paths
This commit is contained in:
5
mud.c
5
mud.c
@@ -515,7 +515,9 @@ int mud_push (struct mud *mud)
|
||||
|
||||
mud->tx.start++;
|
||||
|
||||
struct path *path = mud->path;
|
||||
struct path *path;
|
||||
|
||||
for (path = mud->path; path; path = path->next) {
|
||||
ssize_t ret = mud_send_path(path, packet->data, packet->size);
|
||||
|
||||
if (ret <= 0)
|
||||
@@ -532,6 +534,7 @@ int mud_push (struct mud *mud)
|
||||
path->send.count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user