chiark / gitweb /
sd-dhcp6-client: fix off-by-two error in DUID length
authorDan Williams <dcbw@redhat.com>
Fri, 31 Oct 2014 17:20:21 +0000 (12:20 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 1 Nov 2014 18:39:47 +0000 (14:39 -0400)
commit393b6f28ecec537f05567c4ec8af8c499d0ea226
treea65c476249257f313dd6b33aa98fd9e3abe8aff5
parent489464d0a2afa82b5db01535be3ea09ab3e71014
sd-dhcp6-client: fix off-by-two error in DUID length

The duid data passed by the caller does not include the DUID type,
but sd_dhcp6_client_set_duid() was treating it like it did.
src/libsystemd-network/sd-dhcp6-client.c