chiark / gitweb /
sd-dhcp-client: use RFC4361-complient ClientID by default
authorTom Gundersen <teg@jklm.no>
Wed, 21 Jan 2015 23:53:16 +0000 (00:53 +0100)
committerTom Gundersen <teg@jklm.no>
Thu, 22 Jan 2015 20:29:42 +0000 (21:29 +0100)
commit5bac5235934fabe5a3e6a9d47f4812f81034c427
treed23af1fbf9bf679c42d68e1255a6f647af5bfbf4
parent40862866417265ac8c20422cb44f14a8f141ce0d
sd-dhcp-client: use RFC4361-complient ClientID by default

In addition to the benefits listed in the RFC, this allows DHCP to work also in
case several interfaces share the same MAC address on the same link (IPVLAN).

Note that this will make the ClientID (so probably the assigned IP address)
change on upgrades. If it is desired to avoid that we would have to remember and
write back the ID (which the library supports, but networkd currently does not).
src/libsystemd-network/sd-dhcp-client.c
src/libsystemd-network/test-dhcp-client.c