summaryrefslogtreecommitdiff
path: root/src/inet.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-10-20 22:20:50 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-10-20 22:20:50 +0200
commit4152da7f4947c21903192ff47ff315f6b60d03ba (patch)
tree25a31a3b1a9867c3faa14fb56466f59dba335765 /src/inet.c
parent2b678e45fb3f53a2c59b5c8f00fe4f3b14f9de91 (diff)
downloadconnman-4152da7f4947c21903192ff47ff315f6b60d03ba.tar.gz
connman-4152da7f4947c21903192ff47ff315f6b60d03ba.tar.bz2
connman-4152da7f4947c21903192ff47ff315f6b60d03ba.zip
Fix some coding style issues and make it more readable
Diffstat (limited to 'src/inet.c')
-rw-r--r--src/inet.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inet.c b/src/inet.c
index 7f4d139a..ac68698b 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -441,9 +441,9 @@ struct connman_device *connman_inet_create_device(int index)
devname = connman_inet_ifname(index);
if (devname == NULL)
return NULL;
+
if (__connman_element_device_isfiltered(devname) == TRUE) {
- connman_info("Ignoring network interface %s (filtered)",
- devname);
+ connman_info("Ignoring interface %s (filtered)", devname);
return NULL;
}
@@ -453,8 +453,7 @@ struct connman_device *connman_inet_create_device(int index)
switch (type) {
case CONNMAN_DEVICE_TYPE_UNKNOWN:
- connman_info("Ignoring network interface %s (type unknown)",
- devname);
+ connman_info("Ignoring interface %s (type unknown)", devname);
g_free(devname);
return NULL;
case CONNMAN_DEVICE_TYPE_ETHERNET: