dhcpv6-ia: create assignment for unknown IA in rebind messages
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 12 Apr 2017 14:35:21 +0000 (16:35 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 13 Apr 2017 08:30:57 +0000 (10:30 +0200)
commitadc8f6269d82f526e225fd8d4b78388fc2da0659
tree2de730f35000bf5569c9d3e550aa53347b689a68
parent3d9f4067d56660a2c75ab2ce9b801ae1a4ff4cde
dhcpv6-ia: create assignment for unknown IA in rebind messages

Create assignment for unknown identity association in rebind messages which is
equivalent to the handling of identity association for solicit/request messages.
However don't consider identity associations in rebind messages as a request so
that addresses/prefixes which are not apropriate for the link are returned with
lifetimes of 0.
This aligns with the behavior of the ISC DHCPv6 server.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv6-ia.c