[riot-notifications] [RIOT-OS/RIOT] Add MUD URL option to DHCPv6 client (#15508)

benpicco notifications at github.com
Thu Nov 26 21:29:03 CET 2020


@benpicco commented on this pull request.



> +ifdef MUD_URL
+  QUOTATION = "\""
+  CFLAGS += -DMUD_URL=$(QUOTATION)$(MUD_URL)$(QUOTATION)
+endif

You can have a config define 

```C
#ifndef CONFIG_DHCPV6_CLIENT_MUD_URL
#define CONFIG_DHCPV6_CLIENT_MUD_URL "http://example.org"
#endif
```

Then, if you can add a `DHCPV6_CLIENT_MUD_URL` entry to `sys/net/application_layer/dhcpv6/Kconfig` so the user can set a URL using `menuconfig`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15508#discussion_r531214985
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201126/486cb7d6/attachment.htm>


More information about the notifications mailing list