From 73242900e30b24da56f5ebba5e1ab25dd6cfe8ae Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Sep 2006 05:35:43 +0000 Subject: [PATCH] fix ipcalc (off by 1) SVN-Revision: 4737 --- openwrt/package/base-files/default/bin/ipcalc | 3 +-- 1 file changed, 1 insertion(+), 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 - $* < 3) { print "START="int2ip(start) - print "END="int2ip(end) + print "END="int2ip(end-1) } } EOF