summaryrefslogtreecommitdiff
path: root/thirdparty/miniupnpc
AgeCommit message (Collapse)Author
2021-03-15[Net] Fix miniupnpc when no interface is specifiedFabio Alessandrelli
This is a tricky one, it used to work, but it was wrong, because in such a scenario instead of passing NULL as required by the API, it would pass a buffer containing the `\0` terminator. This stopped working on a specific miniupnpc version, when they fixed some network endianess issue on Windows, to which we made a workaround, which in turn would probably result in failures when the interface is specified. This commit address the issue properly, by checking the specified interface string size, and correctly passing NULL instead of the empty string when necessary. Also reverts the commit that introduced the bogus workaround: e85330231c729a88d5a478de2bbe4a61e5edeae3 One of those PR when the explaination is much longer then code changes :).
2020-03-06miniupnpc: Sync with upstream master (4436632)CodeforEvolution
2020-02-06Fix UPNP on windows after #30205.Fabio Alessandrelli
The problem could be related to different byte ordering when copying the interface address over the binding address.
2019-11-12miniupnpc: Sync with upstream master (0ab1d67)Rémi Verschelde
2019-06-30Update miniupnpc library to latest masterFabio Alessandrelli
2018-09-13Update miniupnpc to use UWP compatible APIs.Fabio Alessandrelli
Use GetBestInterfaceEX and GetAdaptersAddresses instead of GetBestRoute and GetIpAddrTable.
2018-09-11UPnP: Fix includes of thirdparty headersRémi Verschelde
2018-06-07Add UPnP support (port forwarding, querying external IP)mhilbrunner