summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-identifier.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-06-10 01:09:09 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-12 03:19:08 +0900
commit8d71f2b3a6c9ef26a3a39fcaa4281776e9420976 (patch)
tree3685140d12fade2dd6590bf61b7c8172838c7bed /src/libsystemd-network/dhcp-identifier.h
parent0299deab53d2a087727a5d04c1500c322c48b63e (diff)
downloadsystemd-8d71f2b3a6c9ef26a3a39fcaa4281776e9420976.tar.gz
dhcp: do not use ifindex when generating iaid in tests
Diffstat (limited to 'src/libsystemd-network/dhcp-identifier.h')
-rw-r--r--src/libsystemd-network/dhcp-identifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h
index 1d9a9c55ba..6c24af0326 100644
--- a/src/libsystemd-network/dhcp-identifier.h
+++ b/src/libsystemd-network/dhcp-identifier.h
@@ -59,4 +59,4 @@ int dhcp_identifier_set_duid_llt(struct duid *duid, usec_t t, const uint8_t *add
int dhcp_identifier_set_duid_ll(struct duid *duid, const uint8_t *addr, size_t addr_len, uint16_t arp_type, size_t *len);
int dhcp_identifier_set_duid_en(struct duid *duid, size_t *len);
int dhcp_identifier_set_duid_uuid(struct duid *duid, size_t *len);
-int dhcp_identifier_set_iaid(int ifindex, const uint8_t *mac, size_t mac_len, bool legacy_unstable_byteorder, void *_id);
+int dhcp_identifier_set_iaid(int ifindex, const uint8_t *mac, size_t mac_len, bool legacy_unstable_byteorder, bool use_mac, void *_id);