mavlink: when detecting spoof, be more verbose

This commit is contained in:
Julian Oes 2014-07-24 17:59:02 +02:00
parent 36d8d73aeb
commit 58aa9f28f0
1 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,8 @@ MavlinkReceiver::handle_message_command_long(mavlink_message_t *msg)
} else {
if (msg->sysid == mavlink_system.sysid && msg->compid == mavlink_system.compid) {
warnx("ignoring CMD spoofed with same SYS/COMP ID");
warnx("ignoring CMD spoofed with same SYS/COMP (%d/%d) ID",
mavlink_system.sysid, mavlink_system.compid);
return;
}