chiark / gitweb /
sd-dhcp-client: allow getting/setting the client ID
authorDan Williams <dcbw@redhat.com>
Tue, 18 Nov 2014 23:01:20 +0000 (17:01 -0600)
committerTom Gundersen <teg@jklm.no>
Tue, 18 Nov 2014 23:53:24 +0000 (00:53 +0100)
commitba6c0fd6303c63576983c7be892d80d954c1e4c5
tree059429e232be0382393ee830d870b9102fd3c281
parent7b0fce617c48eda32b2d4e04b5f0e4376e8c0106
sd-dhcp-client: allow getting/setting the client ID

The client identifier can be in many different formats, not just
the one that systemd creates from the Ethernet MAC address.  Non-
ethernet interfaces may have different client IDs formats.  Users
may also have custom client IDs that the wish to use to preserve
lease options delivered by servers configured with the existing
client ID.
src/libsystemd-network/sd-dhcp-client.c
src/systemd/sd-dhcp-client.h