summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-identifier.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-02 15:34:42 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-06 04:53:36 +0900
commit3b75435db6f1f229ef05ca2cb11a6f0e313169b2 (patch)
treedee3f312a31689a6c447e6dc15d62f753aeda673 /src/libsystemd-network/dhcp-identifier.h
parente0ead13088cd95a6e9d74f41d0f2d68d514a1998 (diff)
downloadsystemd-3b75435db6f1f229ef05ca2cb11a6f0e313169b2.tar.gz
dhcp: make dhcp_identifier_set_iaid() take struct hw_addr_data
Diffstat (limited to 'src/libsystemd-network/dhcp-identifier.h')
-rw-r--r--src/libsystemd-network/dhcp-identifier.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h
index 697ba3bfbb..91c2a3f27a 100644
--- a/src/libsystemd-network/dhcp-identifier.h
+++ b/src/libsystemd-network/dhcp-identifier.h
@@ -3,6 +3,7 @@
#include "sd-id128.h"
+#include "ether-addr-util.h"
#include "macro.h"
#include "sparse-endian.h"
#include "time-util.h"
@@ -67,8 +68,7 @@ int dhcp_identifier_set_duid(
size_t *ret_len);
int dhcp_identifier_set_iaid(
int ifindex,
- const uint8_t *mac,
- size_t mac_len,
+ const struct hw_addr_data *hw_addr,
bool legacy_unstable_byteorder,
bool use_mac,
void *ret);