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
79e1ec79
Commit
79e1ec79
authored
Jul 12, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interfaces: Add missing brackets
parent
969129b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
agent/interfaces.c
agent/interfaces.c
+3
-2
No files found.
agent/interfaces.c
View file @
79e1ec79
...
...
@@ -228,11 +228,12 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
nice_debug
(
"Interface: %s"
,
ifa
->
ifa_name
);
nice_debug
(
"IP Address: %s"
,
addr_string
);
if
((
ifa
->
ifa_flags
&
IFF_LOOPBACK
)
==
IFF_LOOPBACK
)
{
if
(
include_loopback
)
if
(
include_loopback
)
{
loopbacks
=
g_list_append
(
loopbacks
,
addr_string
);
else
}
else
{
nice_debug
(
"Ignoring loopback interface"
);
g_free
(
addr_string
);
}
}
else
{
if
(
nice_interfaces_is_private_ip
(
ifa
->
ifa_addr
))
ips
=
g_list_append
(
ips
,
addr_string
);
...
...
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