]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Add truncate to defintions
authorRoy Marples <roy@marples.name>
Thu, 12 Jun 2025 10:43:48 +0000 (11:43 +0100)
committerRoy Marples <roy@marples.name>
Mon, 16 Jun 2025 21:00:35 +0000 (22:00 +0100)
commitf9fbe9420d75bea1177f6651ac76c9df1e920f04
treec376532a2ca2a091d56fe1422d66cee383496785
parentb1c17c30adf5737e9319b42cd59322fec5ef7877
Add truncate to defintions

This indicates an option might be truncated from it's natural
length and will be zero padded on expansion.
Only supported for the ip6address option.

While here, support 1 as a bitflag to just print the bit.

Fixes #508.
src/dhcp-common.c
src/dhcp-common.h
src/dhcpcd-definitions-small.conf
src/dhcpcd-definitions.conf
src/dhcpcd.conf.5.in
src/if-options.c