aboutsummaryrefslogtreecommitdiffstats
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
commit2d5e31ea66eb30458af184f270971469a3e31dac (patch)
treea4db468bfeacb0c8a321a83441b211fae5af7bf6 /package/base-files
parenta82b3fd4945182bd244ca4b3b9754d28721e6929 (diff)
downloadupstream-2d5e31ea66eb30458af184f270971469a3e31dac.tar.gz
upstream-2d5e31ea66eb30458af184f270971469a3e31dac.tar.bz2
upstream-2d5e31ea66eb30458af184f270971469a3e31dac.zip
[package] base-files: ipcalc.sh: fix off-by-one in range-calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16619 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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