Pass source ID through to JSON output.
This commit is contained in:
@@ -79,7 +79,9 @@ static void receive_read(struct peer *peer) {
|
||||
return;
|
||||
}
|
||||
|
||||
struct packet packet = { 0 };
|
||||
struct packet packet = {
|
||||
.source_id = receive->id,
|
||||
};
|
||||
while (receive->parser_wrapper(receive, &packet)) {
|
||||
send_write(&packet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user