fix alpine linux brokie

This commit is contained in:
Murphy 2023-04-11 15:09:40 -04:00
parent 25d852e1b2
commit a5c8188362

View file

@ -9,12 +9,12 @@
void create_ip_addr(uint8_t* domain, IpAddr* addr) {
addr->type = V4;
memcpy(&addr->data.v4.s_addr, domain, 4);
memcpy(&addr->data.v4, domain, 4);
}
void create_ip_addr6(uint8_t* domain, IpAddr* addr) {
addr->type = V6;
memcpy(&addr->data.v6.__in6_u.__u6_addr8, domain, 16);
memcpy(&addr->data.v6, domain, 16);
}
void ip_addr_any(IpAddr* addr) {