keep-alive: log alive/dead status of keep-alive instance

This commit is contained in:
Thomas Haller 2018-11-21 12:52:31 +01:00
parent 83d1231348
commit 8e2d69f83b

View file

@ -114,6 +114,7 @@ _notify_alive (NMKeepAlive *self)
if (priv->alive == _is_alive (self))
return;
priv->alive = !priv->alive;
_LOGD ("instance is now %s", priv->alive ? "alive" : "dead");
_notify (self, PROP_ALIVE);
}