mirror of
https://github.com/transmission/transmission
synced 2025-02-01 12:08:24 +00:00
fix minor udp/tcp mixup in libnatpmp -- http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=591
This commit is contained in:
parent
c8c9012697
commit
daaa1d6559
1 changed files with 2 additions and 2 deletions
4
third-party/libnatpmp/natpmp.h
vendored
4
third-party/libnatpmp/natpmp.h
vendored
|
@ -56,8 +56,8 @@ typedef struct {
|
||||||
#define NATPMP_RESPTYPE_UDPPORTMAPPING (2)
|
#define NATPMP_RESPTYPE_UDPPORTMAPPING (2)
|
||||||
|
|
||||||
/* Values to pass to sendnewportmappingrequest() */
|
/* Values to pass to sendnewportmappingrequest() */
|
||||||
#define NATPMP_PROTOCOL_TCP (1)
|
#define NATPMP_PROTOCOL_UDP (1)
|
||||||
#define NATPMP_PROTOCOL_UDP (2)
|
#define NATPMP_PROTOCOL_TCP (2)
|
||||||
|
|
||||||
/* NATPMP_ERR_INVALIDARGS : invalid arguments passed to the function */
|
/* NATPMP_ERR_INVALIDARGS : invalid arguments passed to the function */
|
||||||
#define NATPMP_ERR_INVALIDARGS (-1)
|
#define NATPMP_ERR_INVALIDARGS (-1)
|
||||||
|
|
Loading…
Reference in a new issue