dhcp6: use unaligned_read_be32()

Closes #13591.
This commit is contained in:
Yu Watanabe 2019-09-18 22:14:45 +09:00 committed by Frantisek Sumsal
parent 5a4717fe8e
commit 0eb5e6d3f0
2 changed files with 1 additions and 1 deletions

View File

@ -1005,7 +1005,7 @@ static int client_parse_message(
if (optlen != 4)
return -EINVAL;
irt = be32toh(*(be32_t *) optval) * USEC_PER_SEC;
irt = unaligned_read_be32((be32_t *) optval) * USEC_PER_SEC;
break;
}

Binary file not shown.