On Tue, Feb 24, 2015 at 7:22 PM, Michael Olbrich
wrote:
> there is an unaligned write in dhcp_identifier_set_iaid() and I'm not quite
> sure what the correct fix is:
>
> int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len,
> uint32_t *_id) {
> [...]
> *_id = (id & 0xfff
Hi,
there is an unaligned write in dhcp_identifier_set_iaid() and I'm not quite
sure what the correct fix is:
int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len,
uint32_t *_id) {
[...]
*_id = (id & 0x) ^ (id >> 32);
[...]
}
And this is called with:
r = dhcp_i