From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CDB761381F3 for ; Fri, 21 Dec 2012 22:45:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1184321C05A; Fri, 21 Dec 2012 22:45:37 +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 84EB221C05A for ; Fri, 21 Dec 2012 22:45:37 +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 979BA33D865 for ; Fri, 21 Dec 2012 22:45:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 36B57E543C for ; Fri, 21 Dec 2012 22:45:35 +0000 (UTC) From: "William Hubbs" 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" Message-ID: <1356129380.a8ab9d63f5ea41a1e5821e22ae95f9fa92b96e4d.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: net/ X-VCS-Repository: proj/openrc X-VCS-Files: net/ifconfig.sh.Linux.in X-VCS-Directories: net/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: a8ab9d63f5ea41a1e5821e22ae95f9fa92b96e4d X-VCS-Branch: master Date: Fri, 21 Dec 2012 22:45:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: db3caf80-535b-4c8b-84af-e72454dd3c18 X-Archives-Hash: fedd881db7ddd781f156eec703795716 commit: a8ab9d63f5ea41a1e5821e22ae95f9fa92b96e4d Author: Alexander Tsoy tsoy me> AuthorDate: Fri Dec 21 22:36:20 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Dec 21 22:36:20 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a8ab9d63 ifconfig.sh.Linux.in: fix ipv6 routes and default route Do not add -net or -host to ipv6 routes or to the default route when using route from net-tools. X-Gentoo-Bug: 442594 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=442594 --- net/ifconfig.sh.Linux.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 19e5c35..2afa66c 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -209,7 +209,7 @@ _add_route() fi case "$@" in - *:*) [ "$1" = "-net" ] && shift;; + *:*|default*) [ "$1" = "-net" -o "$1" = "-host" ] && shift;; esac route ${family} add "$@" dev "${IFACE}"