Zhe Weng f671c004df netlib: set addr.sin_zero to 0 in netlib_set_ipv4dnsaddr
In dns_add_nameserver, the dns_check_nameserver is comparing addresses
with addrlen = sizeof(struct sockaddr_in) for IPv4 addresses, so the
trailing sin_zero field should be 0, otherwise it may fail to figure out
same nameserver address.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-05-22 17:09:33 +03:00
..
2023-04-27 18:02:23 +08:00
2021-06-11 08:53:57 -05:00
2022-10-06 12:20:32 +02:00
2023-02-22 23:09:55 +08:00
2023-02-08 00:35:39 +08:00
2021-06-11 08:53:57 -05:00
2021-06-11 08:53:57 -05:00
2022-01-06 10:30:41 +08:00
2021-06-11 08:53:57 -05:00
2021-06-11 08:53:57 -05:00
2021-06-11 08:53:57 -05:00
2022-08-23 01:39:59 +08:00
2022-10-24 12:03:44 +08:00
2021-06-11 08:53:57 -05:00