From dbf43ac7a1ddd7bb338dab4510939bd72ebb086e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 14 Aug 2020 17:54:48 -0700 Subject: [PATCH] Don't attempt to relocate WoL port 9 --- miss/miss.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miss/miss.cpp b/miss/miss.cpp index f061566..a5bb525 100644 --- a/miss/miss.cpp +++ b/miss/miss.cpp @@ -206,7 +206,7 @@ bool UPnPMapPort(struct UPNPUrls* urls, struct IGDdatas* data, int proto, const else if (indefinite) { 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 // 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