From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RTHOr-0005tm-5q for garchives@archives.gentoo.org; Wed, 23 Nov 2011 18:18:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C634721C02D; Wed, 23 Nov 2011 18:18:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 973A321C02D for ; Wed, 23 Nov 2011 18:18:15 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0FEE51B400E for ; Wed, 23 Nov 2011 18:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 3115680042 for ; Wed, 23 Nov 2011 18:18:14 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/net.lo.in X-VCS-Directories: init.d/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: cc45abb77b195ecd778e578cc716b90e9612e48a Date: Wed, 23 Nov 2011 18:18:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0c3ff8b9-0ee4-4b1e-849e-344a8a247c0e X-Archives-Hash: 066e58236f46ecd30da12e3b42e418cd commit: cc45abb77b195ecd778e578cc716b90e9612e48a Author: Mike Frysinger gentoo org> AuthorDate: Wed Nov 23 18:17:20 2011 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Nov 23 18:17:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3Dcc45abb7 net.lo: fix typo in previous math commit x-Gentoo-Bug: 391671 x-Gentoo-Bug-URL: http://bugs.gentoo.org/391671 Reported-by: Duncan <1i5t5.duncan cox.net> Signed-off-by: Mike Frysinger gentoo.org> --- init.d/net.lo.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index d647f31..2181657 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -144,7 +144,7 @@ _netmask2cidr() local i=3D len=3D local IFS=3D. for i in $1; do - while [ i -ne 0 ]; do + while [ ${i} -ne 0 ]; do : $(( len +=3D i % 2 )) : $(( i >>=3D 1 )) done