-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRS 3.0 does not check if the address is empty when reading IP. #1087
Comments
Can't the network card be read?
|
If a network card does not have any IP address, ifa_addr will be empty, so it needs to be checked.
|
👍 |
srs did not obtain an IPv4 address, but obtained an IPv6 address, causing an error in the RTMP connection socket. It is necessary to specify the network card address, as automatic DHCP address acquisition is not working. Therefore, configure the specified IP or server_id configuration.
|
In srs_service_utility.cpp line 135, ifa_addr may be empty, causing a crash at startup.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: