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:
parent
496a56fa47
commit
84a16774b2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue