mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-09 05:42:41 +00:00
94a5af0c15
See https://github.com/miniupnp/miniupnp/issues/119 - Replace the sameport parameter to the upnpDiscover* functions - Added constants UPNP_LOCAL_PORT_ANY(0) & UPNP_LOCAL_PORT_SAME(1). The value "1" was chosen for presumed backwards compatability with the previous "sameport" parameter (assuming usesr would have set to 1 if they wanted same port) - Can be specified with "-z" to the test programs "upnpc" & "pymoduletest.py"