projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
969129b
)
interfaces: Add missing brackets
author
Olivier Crête
<olivier.crete@collabora.com>
Sat, 12 Jul 2014 19:22:45 +0000
(15:22 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Sat, 12 Jul 2014 19:22:45 +0000
(15:22 -0400)
agent/interfaces.c
patch
|
blob
|
history
diff --git
a/agent/interfaces.c
b/agent/interfaces.c
index
69c77c1
..
6023fde
100644
(file)
--- a/
agent/interfaces.c
+++ b/
agent/interfaces.c
@@
-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);