mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
- Update MASTER_SITES - Update LICENSE_FILE PR: 264680 Reported by: vvd@unislabs.com Relnotes: https://gitlab.linphone.org/BC/public/belle-sip/-/tags/5.1.32
29 lines
608 B
C
29 lines
608 B
C
--- src/dns/dns.c.orig 2022-06-15 16:24:13 UTC
|
|
+++ src/dns/dns.c
|
|
@@ -5012,7 +5012,7 @@ static int guess_scope_id(void){
|
|
struct ifaddrs *ifp;
|
|
struct ifaddrs *ifpstart;
|
|
int scope_id = -1;
|
|
-
|
|
+
|
|
if (getifaddrs(&ifpstart) < 0) {
|
|
return -1;
|
|
}
|
|
@@ -5035,7 +5035,7 @@ static int guess_scope_id(void){
|
|
}
|
|
}
|
|
freeifaddrs(ifpstart);
|
|
-
|
|
+
|
|
return scope_id;
|
|
}
|
|
|
|
@@ -5044,7 +5044,7 @@ int dns_resconf_loadfromresolv(struct dns_resolv_conf
|
|
union res_sockaddr_union addresses[3];
|
|
int i,error,write_index;
|
|
|
|
-
|
|
+ memset(&res, 0, sizeof(res));
|
|
if ((error = res_ninit(&res))) {
|
|
return error;
|
|
}
|