[riot-notifications] [RIOT-OS/RIOT] sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client (#16228)

Jan Romann notifications at github.com
Tue Aug 10 20:04:30 CEST 2021

@JKRhb commented on this pull request.

> +    child.expect(r"inet6 addr:\s+(?P<ia_na_addr>[0-9a-f:]+)\s+scope: global")
+    ia_na_addr = child.match.group("ia_na_addr")
+    assert ia_na_addr.startswith(
+        ia_na_address_pool_prefix
+    ), "IA_NA address has not been assigned correctly"
     child.expect(r"inet6 addr:\s+(?P<global_addr>[0-9a-f:]+)\s+scope: global")

I added an updated test that asserts that one address is the IA_NA and the other is the IA_PD one in f77b332e73327ee98f0346f8c387ebc648aebef6 I also did some refactoring, I hope the changes are okay :)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210810/f4cbedac/attachment.htm>

More information about the notifications mailing list