summaryrefslogtreecommitdiff
path: root/src/iface.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-04-14 01:50:19 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-04-14 01:50:19 +0200
commitf9f84ccfa0cd338e2de22878f277352436570b83 (patch)
tree5bc5e33c7352433028008e3c6cda83003371946b /src/iface.c
parent4b4e384e215fa0479325629a9c26b9325a1dae91 (diff)
downloadconnman-f9f84ccfa0cd338e2de22878f277352436570b83.tar.gz
connman-f9f84ccfa0cd338e2de22878f277352436570b83.tar.bz2
connman-f9f84ccfa0cd338e2de22878f277352436570b83.zip
Use GLib option parsing
Diffstat (limited to 'src/iface.c')
-rw-r--r--src/iface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/iface.c b/src/iface.c
index 51b8e017..b2fd6d10 100644
--- a/src/iface.c
+++ b/src/iface.c
@@ -1268,7 +1268,6 @@ static int probe_device(LibHalContext *ctx,
ifname = libhal_device_get_property_string(ctx, udi,
"net.interface", NULL);
if (ifname != NULL && ifname_filter != NULL &&
- *ifname_filter != '\0' &&
g_str_equal(ifname, ifname_filter) == FALSE) {
device_free(iface);
return -1;