diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-24 22:02:47 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-26 10:08:54 +0200 |
commit | d5e172d2fb2d80b4dc4542089b30d1d19032ff74 (patch) | |
tree | a9d6933533bfbf51304bb6401e1869a0a3036dbd /TODO | |
parent | sd-dhcp6: constify output arguments in get_{ntp,nds}_addr (diff) | |
download | systemd-d5e172d2fb2d80b4dc4542089b30d1d19032ff74.tar.xz systemd-d5e172d2fb2d80b4dc4542089b30d1d19032ff74.zip |
networkd: unfoobar serialization of links
We'd start writing an entry line, then another one, then another one,
and then output the rest of the first one, and then some other random
stuff, and the rest of some other lines... Results were ...eh... random.
Let's define a helper to avoid some of the copy&paste madness, and separate
blocks that output a single line with /**********************************/.
This rework doesn't change what data is written, it only tries to fix the
format of the output. The fact that some entries only write data from
link->network, and some from either link->network or link, some stuff only
for dhpc4 leases while some for both dhpc4 and dhcp6, etc, looks rather
suspicious too, but I didn't touch this.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1227,6 +1227,8 @@ Features: - duplicate address check for static IPs (like ARPCHECK in network-scripts) - whenever uplink info changes, make DHCP server send out FORCERENEW +* Figure out how to do unittests of networkd's state serialization + * dhcp: - figure out how much we can increase Maximum Message Size |