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
fa68cdd4
Commit
fa68cdd4
authored
Jan 17, 2011
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define SOL_IPV6 to IPPROTO_IPV6 if not defined
parent
df0ca1ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
stun/tools/stund.c
stun/tools/stund.c
+4
-0
stun/usages/bind.c
stun/usages/bind.c
+7
-0
No files found.
stun/tools/stund.c
View file @
fa68cdd4
...
@@ -61,9 +61,13 @@
...
@@ -61,9 +61,13 @@
#ifndef SOL_IP
#ifndef SOL_IP
# define SOL_IP IPPROTO_IP
# define SOL_IP IPPROTO_IP
#endif
#ifndef SOL_IPV6
# define SOL_IPV6 IPPROTO_IPV6
# define SOL_IPV6 IPPROTO_IPV6
#endif
#endif
#ifndef IPV6_RECVPKTINFO
#ifndef IPV6_RECVPKTINFO
# define IPV6_RECVPKTINFO IPV6_PKTINFO
# define IPV6_RECVPKTINFO IPV6_PKTINFO
#endif
#endif
...
...
stun/usages/bind.c
View file @
fa68cdd4
...
@@ -74,6 +74,13 @@
...
@@ -74,6 +74,13 @@
#include "timer.h"
#include "timer.h"
#ifndef SOL_IP
# define SOL_IP IPPROTO_IP
#endif
#ifndef SOL_IPV6
# define SOL_IPV6 IPPROTO_IPV6
#endif
/** Non-blocking mode STUN binding discovery */
/** Non-blocking mode STUN binding discovery */
...
...
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