increments API_VERSION to 15

This commit is contained in:
Thomas Bernard 2015-10-08 17:59:55 +02:00
parent f407d5a7ee
commit 45a4347809
5 changed files with 18 additions and 3 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6)
project (miniupnpc C) project (miniupnpc C)
set (MINIUPNPC_VERSION 1.9) set (MINIUPNPC_VERSION 1.9)
set (MINIUPNPC_API_VERSION 14) set (MINIUPNPC_API_VERSION 15)
if (NOT CMAKE_BUILD_TYPE) if (NOT CMAKE_BUILD_TYPE)
if (WIN32) if (WIN32)

View File

@ -1,6 +1,11 @@
$Id: Changelog.txt,v 1.215 2015/10/01 09:26:11 nanard Exp $ $Id: Changelog.txt,v 1.215 2015/10/01 09:26:11 nanard Exp $
miniUPnP client Changelog. miniUPnP client Changelog.
2015/10/08:
Change sameport to localport
see https://github.com/miniupnp/miniupnp/pull/120
increments API_VERSION to 15
2015/09/15: 2015/09/15:
Fix buffer overflow in igd_desc_parse.c/IGDstartelt() Fix buffer overflow in igd_desc_parse.c/IGDstartelt()
Discovered by Aleksandar Nikolic of Cisco Talos Discovered by Aleksandar Nikolic of Cisco Talos

View File

@ -65,7 +65,7 @@ ifeq (SunOS, $(OS))
endif endif
# APIVERSION is used to build SONAME # APIVERSION is used to build SONAME
APIVERSION = 14 APIVERSION = 15
SRCS = igd_desc_parse.c miniupnpc.c minixml.c minisoap.c miniwget.c \ SRCS = igd_desc_parse.c miniupnpc.c minixml.c minisoap.c miniwget.c \
upnpc.c upnpcommands.c upnpreplyparse.c testminixml.c \ upnpc.c upnpcommands.c upnpreplyparse.c testminixml.c \

View File

@ -2,6 +2,14 @@ $Id: apiversions.txt,v 1.7 2015/07/23 20:40:08 nanard Exp $
Differences in API between miniUPnPc versions Differences in API between miniUPnPc versions
API version 15
changed "sameport" argument of upnpDiscover() upnpDiscoverAll() upnpDiscoverDevice()
to "localport". When 0 or 1, behaviour is not changed, but it can take
any other value between 2 and 65535
Existing programs should be compatible
updated macro :
#define MINIUPNPC_API_VERSION 15
API version 14 API version 14
miniupnpc.h miniupnpc.h
add ttl argument to upnpDiscover() upnpDiscoverAll() upnpDiscoverDevice() add ttl argument to upnpDiscover() upnpDiscoverAll() upnpDiscoverDevice()
@ -9,6 +17,8 @@ miniupnpc.h
getDevicesFromMiniSSDPD() : getDevicesFromMiniSSDPD() :
connectToMiniSSDPD() / disconnectFromMiniSSDPD() connectToMiniSSDPD() / disconnectFromMiniSSDPD()
requestDevicesFromMiniSSDPD() / receiveDevicesFromMiniSSDPD() requestDevicesFromMiniSSDPD() / receiveDevicesFromMiniSSDPD()
updated macro :
#define MINIUPNPC_API_VERSION 14
API version 13 API version 13
miniupnpc.h: miniupnpc.h:

View File

@ -20,7 +20,7 @@
/* versions : */ /* versions : */
#define MINIUPNPC_VERSION "1.9" #define MINIUPNPC_VERSION "1.9"
#define MINIUPNPC_API_VERSION 14 #define MINIUPNPC_API_VERSION 15
/* Source port: /* Source port:
Using "1" as an alias for 1900 for backwards compatability Using "1" as an alias for 1900 for backwards compatability