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:45:03 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-06 04:53:36 +0900
commit8cad358e4afbe62a293c906113dc31abbebd4a77 (patch)
tree9e3ccb0a5d7969e2aefca6a069989370af1865bd /src/libsystemd-network/dhcp-identifier.h
parent3b75435db6f1f229ef05ca2cb11a6f0e313169b2 (diff)
downloadsystemd-8cad358e4afbe62a293c906113dc31abbebd4a77.tar.gz
dhcp: make dhcp_identifier_set_duid() take struct hw_addr_data
Diffstat (limited to 'src/libsystemd-network/dhcp-identifier.h')
-rw-r--r--src/libsystemd-network/dhcp-identifier.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h
index 91c2a3f27a..8acb8c3210 100644
--- a/src/libsystemd-network/dhcp-identifier.h
+++ b/src/libsystemd-network/dhcp-identifier.h
@@ -59,8 +59,7 @@ int dhcp_validate_duid_len(DUIDType duid_type, size_t duid_len, bool strict);
int dhcp_identifier_set_duid_en(bool test_mode, struct duid *ret_duid, size_t *ret_len);
int dhcp_identifier_set_duid(
DUIDType duid_type,
- const uint8_t *addr,
- size_t addr_len,
+ const struct hw_addr_data *hw_addr,
uint16_t arp_type,
usec_t llt_time,
bool test_mode,