summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-29 11:35:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-29 11:35:33 +0000
commit19c12174ee93222f11897e1af51e74e6abbfaf26 (patch)
tree4c6da1fa69186c9e143087bb3827f0fdbd797186 /package/base-files
parent962da124e9c3928b8bd929350258e5dac9e67146 (diff)
downloadmtk-20170518-19c12174ee93222f11897e1af51e74e6abbfaf26.zip
mtk-20170518-19c12174ee93222f11897e1af51e74e6abbfaf26.tar.gz
mtk-20170518-19c12174ee93222f11897e1af51e74e6abbfaf26.tar.bz2
base-files: ipcalc.sh: fix off-by-one in range-calculation
SVN-Revision: 16619
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/bin/ipcalc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/ipcalc.sh b/package/base-files/files/bin/ipcalc.sh
index e8efa6b..318980e 100755
--- a/package/base-files/files/bin/ipcalc.sh
+++ b/package/base-files/files/bin/ipcalc.sh
@@ -26,7 +26,7 @@ BEGIN {
if (ARGC > 3) {
print "START="int2ip(start)
- print "END="int2ip(end-1)
+ print "END="int2ip(end)
}
}
EOF