diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2016-12-01 14:24:24 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-12-01 14:26:36 +0100 |
commit | 41b52688403016017eca812315a7206b6d27c097 (patch) | |
tree | 8775658bab8e95e946dfce3cb3dd312af805275b /src/odhcpd.h | |
parent | be6c5159a46bf2fb813456e53f217a415743ed4c (diff) |
dhcpv6-ia : Fix static DHCPv6 assignments becoming non static
The valid_until parameter which is set to 0 for static DHCPv6
assignments was overwritten depending on the received DHCPv6 message
which turned the assignment into having a finite lifetime and thus not
static anymore.
Fix this by checking if the valid_until parameter holds infinite
lifetime before updating it.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
0 files changed, 0 insertions, 0 deletions