summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/bin/ipcalc
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/bin/ipcalc')
-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 23af6a0c3..e8efa6b96 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