Skip to content

Instantly share code, notes, and snippets.

View Darkshadow2's full-sized avatar

Michael Nickerson Darkshadow2

View GitHub Profile
@Darkshadow2
Darkshadow2 / miniupnpd.patch
Created August 3, 2021 22:05
miniupnp - patch to get MS clients to see a V2 as a V1 UPNP server
diff --git a/miniupnpd/upnpdescgen.c b/miniupnpd/upnpdescgen.c
index 46110f2..4020a09 100644
--- a/miniupnpd/upnpdescgen.c
+++ b/miniupnpd/upnpdescgen.c
@@ -317,6 +317,147 @@ static const struct XMLElt rootDesc[] =
{0, 0}
};
+#ifdef IGD_V2
+static const struct XMLElt ms_rootDesc[] =