Fix UPNP on windows after #30205.

The problem could be related to different byte ordering when copying
the interface address over the binding address.

(cherry picked from commit e85330231c)
This commit is contained in:
Fabio Alessandrelli
2020-02-06 16:00:32 +01:00
committed by Rémi Verschelde
parent 273927273d
commit 72395ca846
3 changed files with 17 additions and 4 deletions

View File

@@ -310,6 +310,7 @@ Files extracted from upstream source:
- All `*.c` and `*.h` files from `miniupnpc` to `thirdparty/miniupnpc/miniupnpc`
- Remove `test*`, `minihttptestserver.c` and `wingenminiupnpcstrings.c`
The patch `windows_fix.diff` is applied to `minissdpc.c` to fix an upstream issue.
The only modified file is miniupnpcstrings.h, which was created for Godot
(it is usually autogenerated by cmake).