aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'pingu_host.c')
-rw-r--r--pingu_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingu_host.c b/pingu_host.c
index fae9a0e..c0ec966 100644
--- a/pingu_host.c
+++ b/pingu_host.c
@@ -260,7 +260,7 @@ int pingu_host_init(struct ev_loop *loop, const char *config)
return -1;
list_for_each_entry(host, &host_list, host_list_entry) {
- if (host->iface->name[0] != '\0' && !host->iface->has_binding)
+ if (!pingu_iface_usable(host->iface))
pingu_host_set_status(host, 0);
ev_timer_init(&host->burst_timeout_watcher,
pingu_burst_timeout_cb, 0, host->burst_interval);