aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkhash.c
diff options
context:
space:
mode:
authorLeon M. Busch-George <leon@georgemail.eu>2023-06-16 14:56:39 +0200
committerLeon M. Busch-George <leon@georgemail.eu>2023-09-25 15:02:49 +0200
commit9b2f8a33b6b247d4232d48a1d18aea3769590083 (patch)
tree1d3a3ded1de21f5f934ef1f7962c5d5e8ba8fccd /scripts/mkhash.c
parent9e8bbd4265271612732c0804065ce8bf4939e8c0 (diff)
base-files: ipcalc.sh: correctly set limit for prefix > 30
For /31 and /32 prefixes, there are only host addresses - no network and broadcast address with all-zero and all-one bits. Reflect this when setting the limit. Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
Diffstat (limited to 'scripts/mkhash.c')
0 files changed, 0 insertions, 0 deletions