Skip to content

Commit

Permalink
dhcp: add define for MUD URL string
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Oct 5, 2023
1 parent 88ebbf7 commit ffa77c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/include/lwip/opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,19 @@
#if !defined LWIP_DHCP_MUD_URL || defined __DOXYGEN__
#define LWIP_DHCP_MUD_URL 0
#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
/**
* @}
*/
Expand Down

0 comments on commit ffa77c2

Please sign in to comment.