dhcpv6: add support for null IA_PD valid lifetime
authorAlin Nastac <alin.nastac@gmail.com>
Wed, 10 Nov 2021 15:02:05 +0000 (16:02 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 5 Dec 2021 17:20:31 +0000 (18:20 +0100)
commitc9578e10428d12c683ceb05e17970a616817f577
tree03ad02653cef12c117993e7ae80d0097fc37f51a
parentca43ea3f436c76fab0b8e3f170725c1d91ebdc36
dhcpv6: add support for null IA_PD valid lifetime

This allows immediate removal of the old PD assignments, triggered
by DHCPv6 server messages that contain both old and new IA_PD options:
  - new IA_PD, with normal valid & preferred lifetimes
  - old IA_PD, with valid & preffered lifetimes set to 0

Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
src/dhcpv6.c
src/odhcp6c.c
src/odhcp6c.h
src/ra.c
src/script.c