From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-537026-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 674241381F3 for <garchives@archives.gentoo.org>; Fri, 21 Dec 2012 20:31:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6156D21C020; Fri, 21 Dec 2012 20:31:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E777921C020 for <gentoo-commits@lists.gentoo.org>; Fri, 21 Dec 2012 20:31:24 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5F79335E2E for <gentoo-commits@lists.gentoo.org>; Fri, 21 Dec 2012 20:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1F15CE543C for <gentoo-commits@lists.gentoo.org>; Fri, 21 Dec 2012 20:31:21 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org> Message-ID: <1356121467.2b0ff6f669d2a05f4b092d8135ee17626c64c494.WilliamH@OpenRC> 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: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 2b0ff6f669d2a05f4b092d8135ee17626c64c494 X-VCS-Branch: master Date: Fri, 21 Dec 2012 20:31:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ffb9d6ab-505d-4a74-9c10-8de266c02e8a X-Archives-Hash: c831125eace592dfce286af9564b697e commit: 2b0ff6f669d2a05f4b092d8135ee17626c64c494 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me> AuthorDate: Fri Dec 21 20:24:27 2012 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri Dec 21 20:24:27 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=2b0ff6f6 net.lo: add ipv6 net and host patterns X-Gentoo-Bug: 442594 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=442594 --- init.d/net.lo.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index db6550d..32ca810 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -672,6 +672,8 @@ ${routes}" *.*.*.*/32*) cmd="-host ${cmd}";; *.*.*.*/*|0.0.0.0|0.0.0.0" "*) cmd="-net ${cmd}";; default|default" "*) cmd="-net ${cmd}";; + *:*/128*) cmd="-host ${cmd}";; + *:*/*) cmd="-net ${cmd}";; *) cmd="-host ${cmd}";; esac if ${hidefirstroute}; then