summaryrefslogtreecommitdiff
path: root/package/base-files/default/bin
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-03 05:35:43 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-03 05:35:43 +0000
commitcc845615ce25c4e8ba0c60255200ae067a5d6d3d (patch)
tree8ce88550f267bb1bc04598cc0d3a990af02e4578 /package/base-files/default/bin
parent294c07212617fb018fd3f122e5992bd27e5b9b05 (diff)
fix ipcalc (off by 1)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4737 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/bin')
-rwxr-xr-xpackage/base-files/default/bin/ipcalc3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/default/bin/ipcalc b/package/base-files/default/bin/ipcalc
index 23af6a0c3b..e8efa6b96c 100755
--- a/package/base-files/default/bin/ipcalc
+++ b/package/base-files/default/bin/ipcalc
@@ -1,5 +1,4 @@
#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
awk -f /usr/lib/common.awk -f - $* <<EOF
BEGIN {
@@ -27,7 +26,7 @@ BEGIN {
if (ARGC > 3) {
print "START="int2ip(start)
- print "END="int2ip(end)
+ print "END="int2ip(end-1)
}
}
EOF