odhcp6c: preference and status code support in advertise
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 23 Oct 2013 12:04:27 +0000 (12:04 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 23 Oct 2013 17:21:54 +0000 (19:21 +0200)
commit0c764d13ba834d6be53c4312007584613dec3a1e
treef3cf0e4e1d1e232f48f704486cf0b6c137c3a6d6
parent24c064ccbf819f85c8709ea60acb3b278377b408
odhcp6c: preference and status code support in advertise

The patch implements handling of advertise messages
as described in RFC3315 paragraph 17.1.2. Client will
stop collecting advertise messages if preference option
is equal to 255 or if the first RT has elapsed. Status
codes are handled in the advertise message depending on
the startup parameters

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