aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
parent962da124e9c3928b8bd929350258e5dac9e67146 (diff)
downloadupstream-19c12174ee93222f11897e1af51e74e6abbfaf26.tar.gz
upstream-19c12174ee93222f11897e1af51e74e6abbfaf26.tar.bz2
upstream-19c12174ee93222f11897e1af51e74e6abbfaf26.zip
base-files: ipcalc.sh: fix off-by-one in range-calculation
SVN-Revision: 16619
Diffstat (limited to 'package')
-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 e8efa6b96c..318980e5a2 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