mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Init local_ip and local_port properly in mg_connection
This commit is contained in:
1 parent
e62e48397d
commit
33c56b0edc
2 files changed
+34
-23
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ struct mg_connection {
|
||||
const char *query_string; // URL part after '?', not including '?', or NULL
|
||||
|
||||
char remote_ip[48]; // Max IPv6 string length is 45 characters
|
||||
const char *local_ip; // Local IP address
|
||||
char local_ip[48]; // Local IP address
|
||||
unsigned short remote_port; // Client's port
|
||||
unsigned short local_port; // Local port number
|
||||
|
||||
|
||||
Reference in new issue
Block a user