This log message does spam the output of macnocker,
if an interface is down, because it is executed every second.
This is not a critical debug message, as it is expected behaviour,
so it is converted to log_trace, so it is only output when really
necessary
Signed-off-by: Fabian Bläse <fabian@blaese.de>
If the macnocker client tries to send data, but the interface is not running,
this will result in error messages. However, an interface being down is a
valid state and should not result in error messages. So first check the current
state of the interface before trying to send data.
Fixes: #104
Signed-off-by: Fabian Bläse <fabian@blaese.de>
Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>