Fix #2192 - honor addr%scopeid ipv6 notation

This commit is contained in:
cpq committed 2023-09-29 15:49:47 +01:00
1 parent a628a05efb
commit 46ecb07fc8
6 files changed
+74 -39

No files matched your search

+4 -3
View File
@@ -13,9 +13,10 @@ struct mg_dns {
};
struct mg_addr {
uint8_t ip[16]; // Holds IPv4 or IPv6 address, in network byte order
uint16_t port; // TCP or UDP port in network byte order
bool is_ip6; // True when address is IPv6 address
uint8_t ip[16]; // Holds IPv4 or IPv6 address, in network byte order
uint16_t port; // TCP or UDP port in network byte order
uint8_t scope_id; // IPv6 scope ID
bool is_ip6; // True when address is IPv6 address
};
struct mg_mgr {