mirror of
https://github.com/markqvist/tncattach.git
synced 2026-06-16 12:58:47 -04:00
Increased logging in verbose mode
This commit is contained in:
@@ -28,6 +28,7 @@ void kiss_frame_received(int frame_len) {
|
||||
cleanup();
|
||||
exit(1);
|
||||
}
|
||||
if (verbose && !daemonize) printf("Got %d bytes from TNC, wrote %d bytes to interface\r\n", frame_len, written);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -181,7 +181,8 @@ void read_loop(void) {
|
||||
}
|
||||
}
|
||||
|
||||
kiss_write_frame(attached_tnc, if_buffer, if_len);
|
||||
int tnc_written = kiss_write_frame(attached_tnc, if_buffer, if_len);
|
||||
if (verbose && !daemonize) printf("Got %d bytes from interface, wrote %d bytes to TNC\r\n", if_len, tnc_written);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user