mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-03 08:15:40 +00:00
Avoid using IPv6 FC if no control URL was present
This commit is contained in:
parent
81ca65d7d4
commit
2899843900
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user