Update DHCPv6 DUID code and fix coverity warnings 49/13049/2
authorJuraj Sloboda <jsloboda@cisco.com>
Tue, 12 Jun 2018 08:21:05 +0000 (10:21 +0200)
committerOle Trøan <otroan@employees.org>
Fri, 15 Jun 2018 09:34:44 +0000 (09:34 +0000)
commitd9778c2b196ad624dd1bf7beda888e946a01fbcf
tree362cd5d297e009f3622c545bf1ce1894d99b9e01
parenta6110b6ea5a066b64005347850f61df9a2000fe9
Update DHCPv6 DUID code and fix coverity warnings

- Generate client DUID only when DHCPv6 PD feature is enabled
- Change client DUID type from DUID-LLT to DUID-LL
- Fix coverity warnings

Change-Id: I20e518fc9a1c5f3f7ea9add7e7e03a487c99e978
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
src/vnet/dhcp/dhcp.api
src/vnet/dhcp/dhcp6_pd_client_cp.c
src/vnet/dhcp/dhcp6_pd_client_dp.c
src/vnet/dhcp/dhcp6_pd_client_dp.h
src/vnet/dhcp/dhcp_api.c
test/test_dhcp6.py