diff options
Diffstat (limited to 'src/target/trx_toolkit/ctrl_if.py')
-rw-r--r-- | src/target/trx_toolkit/ctrl_if.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/target/trx_toolkit/ctrl_if.py b/src/target/trx_toolkit/ctrl_if.py index 1e569a60..b533746b 100644 --- a/src/target/trx_toolkit/ctrl_if.py +++ b/src/target/trx_toolkit/ctrl_if.py @@ -22,12 +22,14 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +import logging as log + from udp_link import UDPLink class CTRLInterface(UDPLink): def handle_rx(self, data, remote): if not self.verify_req(data): - print("[!] Wrong data on CTRL interface") + log.error("Wrong data on CTRL interface") return # Attempt to parse a command |