From: Felix Fietkau Date: Sun, 3 Sep 2006 05:35:43 +0000 (+0000) Subject: fix ipcalc (off by 1) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=73242900e30b24da56f5ebba5e1ab25dd6cfe8ae;p=openwrt%2Fstaging%2Frmilecki.git fix ipcalc (off by 1) SVN-Revision: 4737 --- diff --git a/openwrt/package/base-files/default/bin/ipcalc b/openwrt/package/base-files/default/bin/ipcalc index 23af6a0c3b3..e8efa6b96cf 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 - $* < 3) { print "START="int2ip(start) - print "END="int2ip(end) + print "END="int2ip(end-1) } } EOF