From 84a16774b28f29ff2fd2856d17af0dd4d6ee038d Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 5 Nov 2021 18:32:06 +0800 Subject: [PATCH] Fix build fail for CentOS6, without SO_REUSEPORT --- trunk/src/app/srs_app_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 4873bdda5..12db502c3 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -3567,8 +3567,8 @@ int SrsConfig::get_rtc_server_reuseport() #if !defined(SO_REUSEPORT) if (v > 1) { - srs_warn("REUSEPORT not supported, reset %d to %d", reuseport, DEFAULT); - v = 1 + srs_warn("REUSEPORT not supported, reset to 1"); + v = 1; } #endif