From: Felix Fietkau Date: Sun, 3 Sep 2006 05:35:43 +0000 (+0000) Subject: fix ipcalc (off by 1) X-Git-Tag: reboot~30718^2~199 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73242900e30b24da56f5ebba5e1ab25dd6cfe8ae;p=oweals%2Fopenwrt.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 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 - $* < 3) { print "START="int2ip(start) - print "END="int2ip(end) + print "END="int2ip(end-1) } } EOF