Skip to content

Commit c267d24

Browse files
committed
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.
1 parent a3e9a04 commit c267d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto_tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ static int tcp_get_info(struct connection *conn, long long int *info, int info_n
10281028

10291029
static void __proto_tcp_init(void)
10301030
{
1031-
#if defined(__linux__) && !defined(TCP_MD5SIG)
1031+
#if defined(__linux__) && defined(TCP_MD5SIG)
10321032
hap_register_feature("HAVE_TCP_MD5SIG");
10331033
#endif
10341034
}

0 commit comments

Comments
 (0)