mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 23:08:12 +02:00
core: fix IAID endianness in client-id generation test
Fixes: 6f16e524be ('core: support ipvX.dhcp-iaid properties')
https://bugzilla.redhat.com/show_bug.cgi?id=1778640
This commit is contained in:
parent
4fcff3f34c
commit
b90f8e785e
1 changed files with 3 additions and 1 deletions
|
|
@ -2086,7 +2086,9 @@ test_nm_utils_dhcp_client_id_systemd_node_specific (gconstpointer test_data)
|
|||
guint32 iaid = d->iaid_ifname;
|
||||
guint32 tmp;
|
||||
|
||||
tmp = nm_utils_create_dhcp_iaid (TRUE, (const guint8 *) d->ifname, strlen (d->ifname));
|
||||
tmp = nm_utils_create_dhcp_iaid (legacy_unstable_byteorder,
|
||||
(const guint8 *) d->ifname,
|
||||
strlen (d->ifname));
|
||||
client_id = nm_utils_dhcp_client_id_systemd_node_specific_full (tmp,
|
||||
(const guint8 *) &d->machine_id,
|
||||
sizeof (d->machine_id));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue