From cc845615ce25c4e8ba0c60255200ae067a5d6d3d Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 3 Sep 2006 05:35:43 +0000 Subject: [PATCH] fix ipcalc (off by 1) git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4737 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/bin/ipcalc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/base-files/default/bin/ipcalc b/package/base-files/default/bin/ipcalc index 23af6a0c3..e8efa6b96 100755 --- a/package/base-files/default/bin/ipcalc +++ b/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