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 | 73242900e30b24da56f5ebba5e1ab25dd6cfe8ae (patch) | |
tree | ce21d3a71a7d340fa48c2a09a200bf854a62082f | |
parent | 4027ebea1951b35cfa8159009a352700f35c5090 (diff) | |
download | upstream-73242900e30b24da56f5ebba5e1ab25dd6cfe8ae.tar.gz upstream-73242900e30b24da56f5ebba5e1ab25dd6cfe8ae.tar.bz2 upstream-73242900e30b24da56f5ebba5e1ab25dd6cfe8ae.zip |
fix ipcalc (off by 1)
SVN-Revision: 4737
-rwxr-xr-x | openwrt/package/base-files/default/bin/ipcalc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openwrt/package/base-files/default/bin/ipcalc b/openwrt/package/base-files/default/bin/ipcalc index 23af6a0c3b..e8efa6b96c 100755 --- a/openwrt/package/base-files/default/bin/ipcalc +++ b/openwrt/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 |