1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Fix build fail for CentOS6, without SO_REUSEPORT

This commit is contained in:
winlin 2021-11-05 18:32:06 +08:00
parent 496a56fa47
commit 84a16774b2

View file

@ -3567,8 +3567,8 @@ int SrsConfig::get_rtc_server_reuseport()
#if !defined(SO_REUSEPORT) #if !defined(SO_REUSEPORT)
if (v > 1) { if (v > 1) {
srs_warn("REUSEPORT not supported, reset %d to %d", reuseport, DEFAULT); srs_warn("REUSEPORT not supported, reset to 1");
v = 1 v = 1;
} }
#endif #endif