Do not advertise DeviceProtection if it is disabled
This commit is contained in:
parent
e8f8208e24
commit
46bcbff321
|
@ -1,8 +1,8 @@
|
|||
/* $Id: minissdp.c,v 1.103 2021/05/21 22:05:17 nanard Exp $ */
|
||||
/* $Id: minissdp.c,v 1.106 2023/06/29 09:45:18 nanard Exp $ */
|
||||
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
||||
* MiniUPnP project
|
||||
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
||||
* (c) 2006-2021 Thomas Bernard
|
||||
* (c) 2006-2023 Thomas Bernard
|
||||
* This software is subject to the conditions detailed
|
||||
* in the LICENCE file provided within the distribution */
|
||||
|
||||
|
@ -613,7 +613,9 @@ static struct {
|
|||
{"urn:schemas-upnp-org:device:WANConnectionDevice:", 2, uuidvalue_wcd},
|
||||
{"urn:schemas-upnp-org:device:WANDevice:", 2, uuidvalue_wan},
|
||||
{"urn:schemas-upnp-org:service:WANIPConnection:", 2, uuidvalue_wcd},
|
||||
#ifdef ENABLE_DP_SERVICE
|
||||
{"urn:schemas-upnp-org:service:DeviceProtection:", 1, uuidvalue_igd},
|
||||
#endif
|
||||
#ifdef ENABLE_6FC_SERVICE
|
||||
{"urn:schemas-upnp-org:service:WANIPv6FirewallControl:", 1, uuidvalue_wcd},
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue