miniupnpd/minissdp.c: Don't advertise WANPPPConnection in UPNP_STRICT mode
This commit is contained in:
parent
4077b0069d
commit
74c3c18380
|
@ -1,7 +1,8 @@
|
|||
$Id: Changelog.txt,v 1.342 2013/06/05 09:10:46 nanard Exp $
|
||||
$Id: Changelog.txt,v 1.343 2013/06/05 09:18:22 nanard Exp $
|
||||
|
||||
2013/06/05:
|
||||
check Service ID in SetDefaultConnectionService method
|
||||
Don't advertise WANPPPConnection in UPNP_STRICT mode
|
||||
|
||||
2013/05/29:
|
||||
Remove namespace from variable name elements in Events "propertyset"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: minissdp.c,v 1.49 2013/04/26 15:17:10 nanard Exp $ */
|
||||
/* $Id: minissdp.c,v 1.50 2013/06/05 09:18:23 nanard Exp $ */
|
||||
/* MiniUPnP project
|
||||
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||
* (c) 2006-2013 Thomas Bernard
|
||||
|
@ -413,7 +413,12 @@ static struct {
|
|||
{"urn:schemas-upnp-org:device:WANDevice:", 1},
|
||||
{"urn:schemas-upnp-org:service:WANCommonInterfaceConfig:", 1},
|
||||
{"urn:schemas-upnp-org:service:WANIPConnection:", WANIPC_VER},
|
||||
#ifndef UPNP_STRICT
|
||||
/* We use WAN IP Connection, not PPP connection,
|
||||
* but buggy control points may try to use WanPPPConnection
|
||||
* anyway */
|
||||
{"urn:schemas-upnp-org:service:WANPPPConnection:", 1},
|
||||
#endif
|
||||
#ifdef ENABLE_L3F_SERVICE
|
||||
{"urn:schemas-upnp-org:service:Layer3Forwarding:", 1},
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue