BUG/MINOR: proto_tcp: Properly report support for HAVE_TCP_MD5SIG feature

Condition to report the support for HAVE_TCP_MD5SIG feature was inverted. It
is only an issue for the reg-test related to this feature.

This patch must be backported to 3.3.
This commit is contained in:
Christopher Faulet 2026-01-23 11:32:20 +01:00
parent a3e9a04435
commit c267d24f57

View File

@ -1028,7 +1028,7 @@ static int tcp_get_info(struct connection *conn, long long int *info, int info_n
static void __proto_tcp_init(void)
{
#if defined(__linux__) && !defined(TCP_MD5SIG)
#if defined(__linux__) && defined(TCP_MD5SIG)
hap_register_feature("HAVE_TCP_MD5SIG");
#endif
}