diff --git a/src/proto_tcp.c b/src/proto_tcp.c index 1182922ce..727845263 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c @@ -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 }