Age | Commit message (Collapse) | Author |
|
|
|
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.
|
|
The patch has already been upstreamed, and custom patching won't be
needed during next version update.
|
|
|
|
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
:).
|
|
|
|
The problem could be related to different byte ordering when copying
the interface address over the binding address.
|
|
|
|
|
|
Use GetBestInterfaceEX and GetAdaptersAddresses instead of GetBestRoute
and GetIpAddrTable.
|
|
|
|
|