]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
dhcp6: match IA type with request
authorRoy Marples <roy@marples.name>
Tue, 8 May 2018 11:27:42 +0000 (12:27 +0100)
committerRoy Marples <roy@marples.name>
Tue, 8 May 2018 11:27:42 +0000 (12:27 +0100)
commit7e717094d3ad5b9d84941010134e9c7179b253f8
tree15f21c944084dbd2aeb3f0a428149adc1bf88359
parent766ce48c95982388ad9c23bde67678dde26354f1
dhcp6: match IA type with request

So we don't send IA_NA, IA_TA and IA_PD addresses in the
IA_NA request if they all share the same IAID.

While here, fix a bug where IA_TA addresses would append
the DHCP6 unknown option 0 by mistakenly trying to put T1
and T2 timers in where there should be none.
src/dhcp6.c