From daaa1d65592c8bd7f74904b851daaf7c5f6dca00 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 13 Dec 2007 02:03:29 +0000 Subject: [PATCH] fix minor udp/tcp mixup in libnatpmp -- http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=591 --- third-party/libnatpmp/natpmp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/libnatpmp/natpmp.h b/third-party/libnatpmp/natpmp.h index 5c9236507..a194b6457 100644 --- a/third-party/libnatpmp/natpmp.h +++ b/third-party/libnatpmp/natpmp.h @@ -56,8 +56,8 @@ typedef struct { #define NATPMP_RESPTYPE_UDPPORTMAPPING (2) /* Values to pass to sendnewportmappingrequest() */ -#define NATPMP_PROTOCOL_TCP (1) -#define NATPMP_PROTOCOL_UDP (2) +#define NATPMP_PROTOCOL_UDP (1) +#define NATPMP_PROTOCOL_TCP (2) /* NATPMP_ERR_INVALIDARGS : invalid arguments passed to the function */ #define NATPMP_ERR_INVALIDARGS (-1)