diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-17 12:01:26 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-17 14:57:37 +0100 |
commit | 9164338b2e6943ded69f623f2c39a46cb94d35dd (patch) | |
tree | c252b09aab380c1954325bf9028a325bb79dc7c5 /src/basic/in-addr-util.h | |
parent | in-addr-util: make in_addr_prefix_nth() refuse prefixlen larger than maximum ... (diff) | |
download | systemd-9164338b2e6943ded69f623f2c39a46cb94d35dd.tar.xz systemd-9164338b2e6943ded69f623f2c39a46cb94d35dd.zip |
in-addr-util: make in_addr_prefix_nth() always return valid prefix
Previously, e.g. in_addr_prefix_nth(2400::1, prefixlen=32, nth=1)
does not return 2400:1:: but does 2400:1::1.
Diffstat (limited to 'src/basic/in-addr-util.h')
0 files changed, 0 insertions, 0 deletions