diff options
Diffstat (limited to 'pingu_burst.c')
-rw-r--r-- | pingu_burst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pingu_burst.c b/pingu_burst.c index 2f4a55b..0ec89a4 100644 --- a/pingu_burst.c +++ b/pingu_burst.c @@ -22,7 +22,7 @@ void ping_burst_start(struct ev_loop *loop, struct pingu_host *host) /* we bind to device every burst in case an iface disappears and comes back. e.g ppp0 */ if (pingu_iface_bind_socket(host->iface, host->status) < 0) { - pingu_host_set_status(host, 0); + pingu_host_set_status(host, PINGU_HOST_STATUS_OFFLINE); return; } |