diff options
author | Tom Gundersen <teg@jklm.no> | 2016-03-10 14:38:42 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-03-10 14:38:42 +0100 |
commit | ead02a14ede96738250c3aac83adf9ecc1b7e2f1 (patch) | |
tree | 2c5a91b5102fe014299ef15f86f30ee3569fe260 /src/libsystemd-network/dhcp-identifier.c | |
parent | 79c96fd20457f208c752506030295b4cf64a2994 (diff) | |
parent | c83321e6d40b294e73e2881e4a98172c4244323b (diff) |
Merge pull request #2818 from vinaykul/master
DHCP DUID and IAID configurability
Diffstat (limited to 'src/libsystemd-network/dhcp-identifier.c')
-rw-r--r-- | src/libsystemd-network/dhcp-identifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.c b/src/libsystemd-network/dhcp-identifier.c index 1d9ec7be82..1bef368852 100644 --- a/src/libsystemd-network/dhcp-identifier.c +++ b/src/libsystemd-network/dhcp-identifier.c @@ -43,7 +43,7 @@ int dhcp_identifier_set_duid_en(struct duid *duid, size_t *len) { if (r < 0) return r; - unaligned_write_be16(&duid->type, DHCP6_DUID_EN); + unaligned_write_be16(&duid->type, DHCP_DUID_TYPE_EN); unaligned_write_be32(&duid->en.pen, SYSTEMD_PEN); *len = sizeof(duid->type) + sizeof(duid->en); |