Commit Graph

23 Commits

Author SHA1 Message Date
Thomas Bernard 18d54e2ae0 miniupnpc.c: MX cannot be 0 2013-12-13 12:50:25 +01:00
Thomas Bernard 6e20b2af61 miniupnpc.c: UPNP_GetValidIGD() now checks for ExternalIpAddress 2013-12-09 09:31:04 +01:00
Thomas Bernard b0c66c01e2 miniupnpc: define MAXHOSTNAMELEN if not already done 2013-12-09 09:31:04 +01:00
Karl Hiramoto 2ae481b969 some libc implementations don't define struct ip_mreqn
define it here if CFLAG passed with -DNEED_STRUCT_IP_MREQN

I found this issue cross compiling for ARM using eclibc in the
https://www.yoctoproject.org/  build system.
2013-11-15 10:42:27 +01:00
Thomas Bernard 3e5aedae7f miniupnpc/miniupnpc.c: #define strdup to please MSVC 2012-10-16 18:53:28 +02:00
Thomas Bernard 0aea9dc0fb Try to handle scope id in link local IPv6 URL under MS Windows 2012-08-29 09:58:39 +02:00
Thomas Bernard f9c6d4709e Fix a memory link in UPNP_GetValidIGD() 2012-08-29 09:57:38 +02:00
Thomas Bernard ad744bd6a5 miniupnpc: Disable HAS_IP_MREQN on DragonFly BSD 2012-07-20 10:09:40 +02:00
Thomas Bernard 06484ed6d7 miniupnpc: GetUPNPUrls() now inserts scope into link-local IPv6 addresses 2012-06-28 21:05:50 +02:00
Thomas Bernard 19adf87029 minor things 2012-06-24 00:56:24 +02:00
Thomas Bernard c585986d2f miniupnpc: parseURL()/miniwget() : IPv6 addresses scope 2012-06-24 00:55:31 +02:00
Thomas Bernard 0e85a91784 #define MINIUPNPC_GET_SRC_ADDR enables receivedata() to get scope_id 2012-06-24 00:52:51 +02:00
Thomas Bernard aefb519168 disable HAS_IP_MREQN for Solaris (__sun) 2012-06-11 22:06:22 +02:00
Thomas Bernard 691c9d9947 miniupnpc: disable HAS_IP_MREQN for Cygwin 2012-04-11 07:51:53 +02:00
Thomas Bernard 0695b341a6 Add a debug message 2012-04-10 00:11:28 +02:00
Thomas Bernard f42e4060cb Only try to fetch XML description once in UPNP_GetValidIGD() 2012-04-10 00:10:52 +02:00
Thomas Bernard 175bd2894f Added -ansi flag to compilation, and fixed C++ comments to ANSI C comments 2012-04-10 00:08:53 +02:00
Shawn Landen 6e14420ab1 remove trailing whitespace from miniupnpc 2012-02-29 17:51:24 -08:00
Thomas Bernard 1f6ec953a1 disable HAS_IP_MREQN for Windows (_WIN32) 2012-01-25 22:35:16 +01:00
Thomas Bernard 35e25ab375 Replaced WIN32 macro by _WIN32 2012-01-21 14:38:38 +01:00
Thomas Bernard 7dee9f77e6 disable HAS_IP_MREQN under Mac OS X and NetBSD. 2012-01-19 12:32:25 +01:00
Thomas Bernard 3917487cb4 The multicast interface can now be specified by name with IPv4 2012-01-07 11:40:50 +01:00
Thomas Bernard c183a72c46 Added miniupnpc 2011-09-27 22:25:35 +02:00