diff options
author | Vinay Kulkarni <vskibum@gmail.com> | 2016-03-09 21:58:44 -0800 |
---|---|---|
committer | Vinay Kulkarni <vskibum@gmail.com> | 2016-03-09 21:58:44 -0800 |
commit | c83321e6d40b294e73e2881e4a98172c4244323b (patch) | |
tree | 631e97f505c07f8ece1141e2cac66dbc1fe52cd3 /src/libsystemd-network/dhcp-identifier.c | |
parent | bd7e03af007c4e857ed0370eba9e903d6b561937 (diff) |
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); |