diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-09-03 05:35:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-09-03 05:35:43 +0000 |
commit | 09b569dcde9267c0d859efa26b7ae929f42541e8 (patch) | |
tree | 8ce88550f267bb1bc04598cc0d3a990af02e4578 /package | |
parent | 2f129f9ca80019e939cbb90e6390c87313d9e59a (diff) | |
download | upstream-09b569dcde9267c0d859efa26b7ae929f42541e8.tar.gz upstream-09b569dcde9267c0d859efa26b7ae929f42541e8.tar.bz2 upstream-09b569dcde9267c0d859efa26b7ae929f42541e8.zip |
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')
-rwxr-xr-x | package/base-files/default/bin/ipcalc | 3 |
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 |