mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
dhcp: add define for MUD URL string
This commit is contained in:
parent
7f69504bd3
commit
8ab9287b02
@ -983,6 +983,19 @@
|
|||||||
#if !defined LWIP_DHCP_MUD_URL || defined __DOXYGEN__
|
#if !defined LWIP_DHCP_MUD_URL || defined __DOXYGEN__
|
||||||
#define LWIP_DHCP_MUD_URL 0
|
#define LWIP_DHCP_MUD_URL 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_MUD_URL_STRING: Specifies a URL that points to a Manufacturer Usage Description (MUD)
|
||||||
|
* file describing this device.
|
||||||
|
* This URL will only be emitted via DHCP or DHCPv6 if LWIP_DHCP_MUD_URL or LWIP_DHCP6_MUD_URL are set
|
||||||
|
* to 1, respectively.
|
||||||
|
* The URL MUST start with https://.
|
||||||
|
*
|
||||||
|
* See RFC 8520 for more information.
|
||||||
|
*/
|
||||||
|
#ifdef __DOXYGEN__
|
||||||
|
#define LWIP_MUD_URL_STRING "https://example.org/mud-file"
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user