Send ip and port to peers

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-03-10 15:31:41 +00:00
parent bb6b87bb54
commit b53248b6da
2 changed files with 43 additions and 1 deletions

2
mud.h
View File

@@ -17,7 +17,7 @@ enum mud_state {
struct mud_path {
enum mud_state state;
struct sockaddr_storage local_addr, addr;
struct sockaddr_storage local_addr, addr, r_addr;
struct {
uint64_t send_time;
int remote;