projects
/
profile
/
ivi
/
GSSDP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172025f
)
Clarify boolean expression
author
Jens Georg
<jensg@openismus.com>
Tue, 30 Jul 2013 06:43:24 +0000
(08:43 +0200)
committer
Jens Georg
<jensg@openismus.com>
Tue, 30 Jul 2013 06:54:39 +0000
(08:54 +0200)
libgssdp/gssdp-client.c
patch
|
blob
|
history
diff --git
a/libgssdp/gssdp-client.c
b/libgssdp/gssdp-client.c
index
048d5e6
..
876246c
100644
(file)
--- a/
libgssdp/gssdp-client.c
+++ b/
libgssdp/gssdp-client.c
@@
-1266,7
+1266,7
@@
get_host_ip (GSSDPNetworkDevice *device)
continue;
/* Loopback and IPv6 interfaces go at the bottom on the list */
- if (
ifa->ifa_flags & IFF_LOOPBACK
||
+ if (
(ifa->ifa_flags & IFF_LOOPBACK)
||
ifa->ifa_addr->sa_family == AF_INET6)
up_ifaces = g_list_append (up_ifaces, ifa);
else