[riot-commits] [RIOT-OS/RIOT] 0e5595: sys/net/dhcpv6: fix requesting multiple prefixes

Martine Lenders noreply at github.com
Sun Apr 5 01:14:30 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 0e5595cffdc3ea06836b61612c6a7e8fe432107f
      https://github.com/RIOT-OS/RIOT/commit/0e5595cffdc3ea06836b61612c6a7e8fe432107f
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M sys/net/application_layer/dhcpv6/client.c

  Log Message:
  -----------
  sys/net/dhcpv6: fix requesting multiple prefixes

There were two subtle bugs that prevented the DHCPv6 client to request
multiple prefixes for different interfaces.

 - `dhcpv6_client_req_ia_pd()` would fill up *all* leases with the same interface
 - `_parse_reply()` would return after parsing the first answer

With this patch, `gnrc_border_router` gets a prefix on both interfaces of the at86rf215.


  Commit: 5c95df3151d09d1851f83b7fb01d3b037c184f5b
      https://github.com/RIOT-OS/RIOT/commit/5c95df3151d09d1851f83b7fb01d3b037c184f5b
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M sys/net/application_layer/dhcpv6/client.c

  Log Message:
  -----------
  Merge pull request #13806 from benpicco/sys/net/dhcpv6-multiple_prefixes

sys/net/dhcpv6: fix requesting multiple prefixes


Compare: https://github.com/RIOT-OS/RIOT/compare/127f8ca407c5...5c95df3151d0


More information about the commits mailing list