Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
dead4615
Commit
dead4615
authored
Jan 31, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/upnp/Init: enable IPv6
parent
3d5da1ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
NEWS
NEWS
+1
-0
Init.cxx
src/lib/upnp/Init.cxx
+4
-0
No files found.
NEWS
View file @
dead4615
...
...
@@ -3,6 +3,7 @@ ver 0.20.16 (not yet released)
- pulse: fix crash during auto-detection
* database
- simple: fix search within mount points
- upnp: enable IPv6
* fix crash in debug build on Haiku and other operating systems
ver 0.20.15 (2018/01/05)
...
...
src/lib/upnp/Init.cxx
View file @
dead4615
...
...
@@ -34,7 +34,11 @@ static unsigned upnp_ref;
static
void
DoInit
()
{
#ifdef UPNP_ENABLE_IPV6
auto
code
=
UpnpInit2
(
nullptr
,
0
);
#else
auto
code
=
UpnpInit
(
nullptr
,
0
);
#endif
if
(
code
!=
UPNP_E_SUCCESS
)
throw
FormatRuntimeError
(
"UpnpInit() failed: %s"
,
UpnpGetErrorMessage
(
code
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment