This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 702a6638339d0dd8635284a1d40e9c6dec966414
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Mon Sep 15 16:09:10 2025 -0600

    Add a freebsd ifdef check for tcpinfo retrans (#12511)
    
    (cherry picked from commit f2a52088b1f54debfb702acbbfa332eb56f7effc)
    (cherry picked from commit b804e79ea1f55b941bae77e3b088edd80b17060c)
---
 include/cripts/Connections.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/cripts/Connections.hpp b/include/cripts/Connections.hpp
index ae4dc1d6c4..1671b5db7e 100644
--- a/include/cripts/Connections.hpp
+++ b/include/cripts/Connections.hpp
@@ -259,7 +259,11 @@ class ConnBase
     retrans()
     {
       initialize();
+#if defined(__FreeBSD__)
+      return (_ready ? info.__tcpi_retrans : 0);
+#else
       return (_ready ? info.tcpi_retrans : 0);
+#endif
     }
 
     struct tcp_info info;

Reply via email to