From 712208c3bd91eaf497c1d6b3fc41df93a803fc4c Mon Sep 17 00:00:00 2001 From: Jari Nippula Date: Tue, 17 Sep 2024 15:48:37 +0300 Subject: [PATCH] mavlink: enable partner ip status print Enable partner IP to be printed in mavlink status output also other than POSIX (SITL) build --- src/modules/mavlink/mavlink_main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 32389b719130..ad1413e7113a 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -3042,13 +3042,11 @@ Mavlink::display_status() broadcast_enabled() ? "YES" : "NO"); printf("\tMulticast enabled: %s\n", multicast_enabled() ? "YES" : "NO"); -#ifdef __PX4_POSIX if (get_client_source_initialized()) { printf("\tpartner IP: %s\n", inet_ntoa(get_client_source_address().sin_addr)); } -#endif break; #endif // MAVLINK_UDP