base-files: fix ipcalc bound calculation for /31 prefix
authorLeon M. Busch-George <leon@georgemail.eu>
Thu, 9 May 2024 09:32:26 +0000 (11:32 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 17 Jun 2024 11:45:37 +0000 (13:45 +0200)
commitbff0e1cfd87374ae0994ea57f8b8b8f14d8d9f38
treec47511d561e82f0638ef182488830ac8daec4264
parenta5c095c4534dcbc09acc7e6d106dc911149c87ae
base-files: fix ipcalc bound calculation for /31 prefix

A small regress from the translation to shell.
Fixes #12921, originally fixed in #12925 (Github).

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
Link: https://github.com/openwrt/openwrt/pull/15430
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/base-files/files/bin/ipcalc.sh