From: Jo-Philipp Wich Date: Mon, 29 Jun 2009 11:35:33 +0000 (+0000) Subject: base-files: ipcalc.sh: fix off-by-one in range-calculation X-Git-Tag: reboot~23106 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19c12174ee93222f11897e1af51e74e6abbfaf26;p=openwrt%2Fopenwrt.git base-files: ipcalc.sh: fix off-by-one in range-calculation SVN-Revision: 16619 --- 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