Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
belle-sip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
belle-sip
Commits
56e0f1db
Commit
56e0f1db
authored
Aug 07, 2017
by
Simon Morlat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fix windows build"
This reverts commit
45a060ea
.
parent
45a060ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
belle_sip_resolver.c
src/belle_sip_resolver.c
+2
-2
No files found.
src/belle_sip_resolver.c
View file @
56e0f1db
...
...
@@ -694,7 +694,7 @@ static int _resolver_start_query(belle_sip_simple_resolver_context_t *ctx) {
return
-
1
;
memset
(
&
opts
,
0
,
sizeof
opts
);
/* When there are IPv6 nameservers, allow responses to arrive from an IP address that is not the IP address to which the request was sent originally.
* Mac' NAT64 network tend to do this sometimes.*/
opts
.
udp_uses_connect
=
ctx
->
resconf
->
iface
.
ss_family
!=
AF_INET6
;
...
...
@@ -1076,7 +1076,7 @@ static void on_ipv4_results(void *data, const char *name, struct addrinfo *ai_li
/* Convert v4mapped results to v4 */
while
(
ai
!=
NULL
)
{
if
(
ai
->
ai_family
==
AF_INET6
)
{
bctbx_sockaddr_ipv6_to_ipv4
(
ai
->
ai_addr
,
ai
->
ai_addr
,
(
socklen_t
*
)
&
ai
->
ai_addrlen
);
bctbx_sockaddr_ipv6_to_ipv4
(
ai
->
ai_addr
,
ai
->
ai_addr
,
&
ai
->
ai_addrlen
);
if
(
ai
->
ai_addr
->
sa_family
==
AF_INET
)
ai
->
ai_family
=
AF_INET
;
}
ai
=
ai
->
ai_next
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment