diff options
author | Jens Georg <jensg@openismus.com> | 2013-07-30 08:43:24 +0200 |
---|---|---|
committer | Jens Georg <jensg@openismus.com> | 2013-07-30 08:54:39 +0200 |
commit | 105156cfd593300443257fc896da7845dce6c078 (patch) | |
tree | 8ddc58c0e5b4a55dddd2d621161a8fbaf7dff012 /libgssdp | |
parent | 172025f7f122f78ed413aaba9b3189e9c335b1d9 (diff) | |
download | gssdp-105156cfd593300443257fc896da7845dce6c078.tar.gz |
Clarify boolean expression
Diffstat (limited to 'libgssdp')
-rw-r--r-- | libgssdp/gssdp-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c index 048d5e6..876246c 100644 --- 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 |