mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 05:20:08 +01: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 (cherry picked from commitb90f8e785e)
This commit is contained in:
parent
eacce1fd77
commit
a33387eeba
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