Commit Graph

85 Commits

Author SHA1 Message Date
Mike Gelfand 2e4011ce33 Rename LIBSPEC macro to resolve natpmp/miniupnp conflict
Same macro name is used in both natpmp and miniupnp libraries so it's
impossble to link one statically and another dynamically. This patch
renames the macro to have library-specific name.
2014-06-01 13:35:13 +03:00
Thomas Bernard 4e44ef642a Merge branch 'master' into search_all
Conflicts:
	miniupnpc/miniupnpc.c
2014-04-14 17:32:27 +02:00
Thomas Bernard ab7865ae99 miniupnpc.c: translate comment from French to English :) 2014-01-31 15:20:15 +01:00
Thomas Bernard bf3a91ba83 miniupnpc.c: added upnpDiscoverDevice() 2014-01-31 14:59:21 +01:00
Thomas Bernard 18d54e2ae0 miniupnpc.c: MX cannot be 0 2013-12-13 12:50:25 +01:00
Thomas Bernard 370d568715 Merge branch 'master' into search_all 2013-12-13 12:46:09 +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 3e885191c0 miniupnpc.c: MX cannot be 0 2013-02-20 17:08:07 +01:00
Thomas Bernard 91602e129d miniupnpc.c: change upnpDiscoverDevice() to stop when devices are 2013-02-20 17:07:18 +01:00
Thomas Bernard cb054ef580 miniupnpc.c: add upnpDiscoverAll() function 2013-02-20 17:04:53 +01:00
Thomas Bernard 09d5473c54 miniupnpc.c: reindent upnpDiscover() 2013-02-20 16:29:28 +01:00
Thomas Bernard 2b9c014394 miniupnpc.c: improve debug output in upnpDiscoverDevices() 2013-02-20 16:12:35 +01:00
Thomas Bernard f9ea7ad372 upnpDiscover() => upnpDiscoverDevices() 2013-02-18 00:46:09 +01:00
Thomas Bernard 9f1a9a91e6 test: patch upnpDiscover() in order to allow to detect all UPnP devices on the network 2013-02-16 10:48:56 +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