summaryrefslogtreecommitdiff
path: root/src/network/networkd-ndisc.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-10-03 12:42:40 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-10-04 00:25:14 +0900
commit0cf1fe88885bd5ae1944c331ee1a5ec80b0ddfbc (patch)
treed671541647a38dfd495ae6d88111d046a1d7df24 /src/network/networkd-ndisc.c
parent773024685b37170395a11716f8e4ad99d3580455 (diff)
downloadsystemd-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