add --uda-version to usage help + fix

fixes 9e65fbbded
This commit is contained in:
Thomas Bernard 2015-12-12 09:10:54 +01:00
parent 128bbee806
commit 58f6626179
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
$Id: Changelog.txt,v 1.408 2015/11/16 19:29:42 nanard Exp $ $Id: Changelog.txt,v 1.408 2015/11/16 19:29:42 nanard Exp $
2015/12/12:
add commandline option to genconfig.sh to set UPnP (UDA) version
2015/11/16: 2015/11/16:
Fix bsd/getroute.c get_src_for_route_to() when args are NULL Fix bsd/getroute.c get_src_for_route_to() when args are NULL

View File

@ -8,7 +8,7 @@
# default to UPnP Device Architecture (UDA) v2.0 # default to UPnP Device Architecture (UDA) v2.0
UPNP_VERSION_MAJOR=2 UPNP_VERSION_MAJOR=2
UPNP_VERSION_MAJOR=0 UPNP_VERSION_MINOR=0
for argv; do for argv; do
case "$argv" in case "$argv" in
@ -37,6 +37,7 @@ case "$argv" in
echo " --vendorcfg enable configuration of manufacturer info" echo " --vendorcfg enable configuration of manufacturer info"
echo " --pcp-peer enable PCP PEER operation" echo " --pcp-peer enable PCP PEER operation"
echo " --portinuse enable port in use check" echo " --portinuse enable port in use check"
echo " --uda-version=x.x set advertised UPnP version (default to ${UPNP_VERSION_MAJOR}.${UPNP_VERSION_MINOR})"
exit 1 exit 1
;; ;;
*) *)