summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-29 11:35:33 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-29 11:35:33 +0000
commitb0dfa673879dafac9e1a9ca9e46009a1eb5b03c9 (patch)
treea4db468bfeacb0c8a321a83441b211fae5af7bf6
parent93c14ca8d5e781715b2a02b42e94b9cf86ec03f4 (diff)
[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
-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