]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: do not expose set_transaction_id()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Feb 2022 04:56:36 +0000 (13:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Feb 2022 05:58:49 +0000 (14:58 +0900)
commit6f3fc8613133436f948ca38b125bd14650d6afce
tree60810305dcc1bd4922bc4752fee2ceefdb703aee
parent9e4dee4cec64df8db016227d25c2285827ab2665
sd-dhcp6-client: do not expose set_transaction_id()

This is mostly for tests or fuzzers. Hence, this makes the function
requires that the client is running in the test mode.

Also, now the function mask the value for message type.
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/fuzz-dhcp6-client-send.c
src/libsystemd-network/fuzz-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-client.c
src/systemd/sd-dhcp6-client.h