sd-dhcp6-client: Use offsetof() instead of sizeof()
The slightly modified review comments say that "...in theory offsetof(DHCP6Option, data) is nicer than sizeof(DHCP6Option) because the former removes alignment artifacts. In this specific case there are no alignment whitespaces hence it's fine, but out of a matter of principle offsetof() is preferred over sizeof() in cases like this..."
Loading
Please register or sign in to comment