Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
3412db20
Commit
3412db20
authored
Oct 28, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove IP_PKTINFO sockopt which is not portable to mac
parent
f179f0d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
stun/tools/stund.c
stun/tools/stund.c
+0
-3
No files found.
stun/tools/stund.c
View file @
3412db20
...
@@ -117,15 +117,12 @@ int listen_socket (int fam, int type, int proto, uint16_t port)
...
@@ -117,15 +117,12 @@ int listen_socket (int fam, int type, int proto, uint16_t port)
switch
(
fam
)
switch
(
fam
)
{
{
case
AF_INET
:
case
AF_INET
:
setsockopt
(
fd
,
SOL_IP
,
IP_PKTINFO
,
&
yes
,
sizeof
(
yes
));
#ifdef IP_RECVERR
#ifdef IP_RECVERR
setsockopt
(
fd
,
SOL_IP
,
IP_RECVERR
,
&
yes
,
sizeof
(
yes
));
setsockopt
(
fd
,
SOL_IP
,
IP_RECVERR
,
&
yes
,
sizeof
(
yes
));
#endif
#endif
break
;
break
;
case
AF_INET6
:
case
AF_INET6
:
setsockopt
(
fd
,
SOL_IPV6
,
IPV6_RECVPKTINFO
,
&
yes
,
sizeof
(
yes
));
#ifdef IPV6_RECVERR
#ifdef IPV6_RECVERR
setsockopt
(
fd
,
SOL_IPV6
,
IPV6_RECVERR
,
&
yes
,
sizeof
(
yes
));
setsockopt
(
fd
,
SOL_IPV6
,
IPV6_RECVERR
,
&
yes
,
sizeof
(
yes
));
#endif
#endif
...
...
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