Fix build fail for CentOS6, without SO_REUSEPORT
This commit is contained in:
parent
496a56fa47
commit
84a16774b2
|
|
@ -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 New Issue
Block a user