diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-03 12:42:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-04 00:25:14 +0900 |
commit | 0cf1fe88885bd5ae1944c331ee1a5ec80b0ddfbc (patch) | |
tree | d671541647a38dfd495ae6d88111d046a1d7df24 /src/network/networkd-ndisc.c | |
parent | 773024685b37170395a11716f8e4ad99d3580455 (diff) | |
download | systemd-0cf1fe88885bd5ae1944c331ee1a5ec80b0ddfbc.tar.gz |
network: make sec_to_usec() map 0sec -> 0usec
Zero lifetime in RA is special, and we should not assign possibly very
short lifetime addresses or friends.
This should not change anything at least now, preparation for later
commits. Note, DHCPv4 and v6 code also uses it, but sd-dhcp-client and
sd-dhcp6-client already filtered messages with zero lifetime. Hence,
the change should not affect DHCP code.
Diffstat (limited to 'src/network/networkd-ndisc.c')
0 files changed, 0 insertions, 0 deletions