diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-13 21:59:55 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-13 21:59:55 +0200 |
commit | ce876b2ff6d01b5c6f488836dad92807bef735ef (patch) | |
tree | 16689281874a0256a80dd081c2d038c6fe131526 /pingu_host.c | |
parent | 3ecfe5167a484563ac50f03948685ee0708f5d7e (diff) | |
download | pingu-ce876b2ff6d01b5c6f488836dad92807bef735ef.tar.bz2 pingu-ce876b2ff6d01b5c6f488836dad92807bef735ef.tar.xz |
pingu_netlink: monitor link status of interfaces via netlink
Diffstat (limited to 'pingu_host.c')
-rw-r--r-- | pingu_host.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pingu_host.c b/pingu_host.c index c0ec966..50aa914 100644 --- a/pingu_host.c +++ b/pingu_host.c @@ -260,8 +260,6 @@ int pingu_host_init(struct ev_loop *loop, const char *config) return -1; list_for_each_entry(host, &host_list, host_list_entry) { - 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); ev_timer_start(loop, &host->burst_timeout_watcher); |