sd-dhcp6-lease: Name the structure containing IAADDR data
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 8 Oct 2014 08:00:07 +0000 (11:00 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 9 Oct 2014 11:57:53 +0000 (14:57 +0300)
commitee3a5027f7c56df2ef47a774970433d7045c9e9f
tree8c4d53fb9be2f55479705da8920cb5c14c653e30
parentd46fbfb48deff83943355992e55f9ef4431ff5ef
sd-dhcp6-lease: Name the structure containing IAADDR data

With this change the DHCP6_OPTION_IAADDR_LEN define can be removed in
favor of using sizeof(). Using the name of the struct and sizeof()
makes it clearer how much and what data is being copied from the
DHCPv6 message.
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-option.c
src/libsystemd-network/sd-dhcp6-lease.c