diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2013-04-08 00:14:08 +0200 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2013-06-24 01:46:33 +0400 |
commit | 9e5e208b6effd8949d6af2c267ad265806763b9f (patch) | |
tree | 8ae9e181d4edad333a085a2ec96658c1317a84a2 /Transceiver52M | |
parent | 8f47387777a182562d3a9b2e21f48822dc4ebb0f (diff) |
Transceier52M: Make error response to an unknown command on UDP command interface more understandable.
Previously we just repeated the last response which could confuse a command sender.
Diffstat (limited to 'Transceiver52M')
-rw-r--r-- | Transceiver52M/Transceiver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 47da48a..423821d 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -628,6 +628,7 @@ void Transceiver::driveControl() } else { LOG(WARNING) << "bogus command " << command << " on control interface."; + sprintf(response,"RSP ERR 1"); } mControlSocket.write(response,strlen(response)+1); |