From 2899843900e7f233fdaea7bb7543efa6a7f9afac Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 5 Nov 2018 19:43:50 -0800 Subject: [PATCH] Avoid using IPv6 FC if no control URL was present --- miss/miss.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/miss/miss.cpp b/miss/miss.cpp index aeda39b..f69bf54 100644 --- a/miss/miss.cpp +++ b/miss/miss.cpp @@ -304,6 +304,11 @@ bool UPnPHandleDeviceList(struct UPNPDev* list, bool ipv6, bool enable) return false; } + if (data.IPv6FC.controlurl[0] == 0) { + printf("IPv6 firewall control not supported by UPnP IGD!" NL); + return false; + } + if (ipv6) { // Convert what is likely a IPv6 temporary address into // the stable IPv6 address for the same interface.