Commit Graph

10 Commits

Author SHA1 Message Date
Fabian Bläse d0bdfdba56 Use log_trace to log non-running interfaces
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>
2020-04-26 12:19:16 +02:00
Fabian Bläse ce01c3253b Only send data if interface is running
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>
2020-04-23 00:32:42 +02:00
Tim Niemeyer ffd1a64515 work around long stop time 2018-04-03 19:37:44 +02:00
Tim Niemeyer 46d03b86a6 server: bind to device, too 2018-04-03 19:37:27 +02:00
Tim Niemeyer 92456d0370 Revise logging and add tracing support 2018-04-03 19:37:16 +02:00
Tim Niemeyer 9d1a342b0c set the prio 2018-04-02 22:11:07 +02:00
Tim Niemeyer 670f0e6a8f tc: use mac as filter and mask 2018-04-02 19:43:49 +02:00
Tim Niemeyer fd74179fbb tc: use rel path for tc 2018-04-02 18:35:58 +02:00
Tim Niemeyer 833be39f73 rewrite in C 2018-04-02 18:14:15 +02:00
Tim Niemeyer a02b206519 Init 2018-04-02 13:43:51 +02:00