mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-06-20 15:41:16 +00:00
Don't attempt to relocate WoL port 9
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ bool UPnPMapPort(struct UPNPUrls* urls, struct IGDdatas* data, int proto, const
|
|||||||
else if (indefinite) {
|
else if (indefinite) {
|
||||||
printf("STATIC ");
|
printf("STATIC ");
|
||||||
}
|
}
|
||||||
if (err == 718 && proto == IPPROTO_UDP) { // ConflictInMappingEntry
|
if (err == 718 && proto == IPPROTO_UDP && port >= 47000) { // ConflictInMappingEntry
|
||||||
// Some UPnP implementations incorrectly deduplicate on the internal port instead
|
// Some UPnP implementations incorrectly deduplicate on the internal port instead
|
||||||
// of the external port, in violation of the UPnP IGD specification. Since GFE creates
|
// of the external port, in violation of the UPnP IGD specification. Since GFE creates
|
||||||
// mappings on the same internal port as us, those routers break our mappings. To
|
// mappings on the same internal port as us, those routers break our mappings. To
|
||||||
|
|||||||
Reference in New Issue
Block a user