summaryrefslogtreecommitdiffstats
path: root/src/basic/in-addr-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-02-17 12:01:26 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-02-17 14:57:37 +0100
commit9164338b2e6943ded69f623f2c39a46cb94d35dd (patch)
treec252b09aab380c1954325bf9028a325bb79dc7c5 /src/basic/in-addr-util.h
parentin-addr-util: make in_addr_prefix_nth() refuse prefixlen larger than maximum ... (diff)
downloadsystemd-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