dhcpv6-ia: filter out prefixes having invalid length
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 6 Jan 2017 14:26:17 +0000 (15:26 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 6 Jan 2017 15:04:53 +0000 (16:04 +0100)
commitef3c5632c100fda0fa463a3ed56ff926f3f86b20
tree3dd4f4a4349abf8b0a23cf09ab2cffd5e58aff2a
parent16cd87e8a76884802896495eb0e39461d8303c0f
dhcpv6-ia: filter out prefixes having invalid length

Function append_reply filters out addresses having invalid prefix length
when constructing prefixes being delegated to a client.
Now also filter out addresses with an invalid prefix length when writing
the delegated prefixes in the statefile and during logging of the delegated
prefixes.

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