Skip to content
Snippets Groups Projects
Commit e3d29038 authored by Alaric Senat's avatar Alaric Senat Committed by Jean-Baptiste Kempf
Browse files

sout: dlna: simplify `GetServerIPAddress`

Prefer using the UPNP API calls to get the selected interface's IP
address.  The code removed is unnecessarily complex as the correct IP
address should already be available and exposed by libupnp.

Also avoids an unhandled `strdup(nullptr)` in case of error.
parent e3e0854b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment