aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'pingu_host.c')
-rw-r--r--pingu_host.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pingu_host.c b/pingu_host.c
index eda2c94..26b4d83 100644
--- a/pingu_host.c
+++ b/pingu_host.c
@@ -8,12 +8,13 @@
void pingu_host_set_status(struct pingu_host *host, int status)
{
const char *action;
+ host->burst.active = 0;
if (host->status == status) {
- log_debug("%s: status is still %s", host->host, status);
+ log_debug("%s: status is still %i", host->host, status);
return;
}
host->status = status;
- log_info("%s: new status: %s", host->host, status);
+ log_info("%s: new status: %i", host->host, status);
switch (host->status) {
case 0:
action = host->down_action;