From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FF2E138330 for ; Wed, 5 Oct 2016 14:42:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7468BE0B98; Wed, 5 Oct 2016 14:42:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57B79E0B98 for ; Wed, 5 Oct 2016 14:42:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72957341111 for ; Wed, 5 Oct 2016 14:42:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51021248B for ; Wed, 5 Oct 2016 14:42:29 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1475678437.6072cfa443119fc89e997d9ff3a7eee5bb33ac36.robbat2@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: net/ X-VCS-Repository: proj/netifrc X-VCS-Files: net/iproute2.sh X-VCS-Directories: net/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 6072cfa443119fc89e997d9ff3a7eee5bb33ac36 X-VCS-Branch: master Date: Wed, 5 Oct 2016 14:42:29 +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: 855e29a4-db18-4d38-a451-c4f02a528178 X-Archives-Hash: 186cb36e2a7c4f4c7080444d2d520ec9 commit: 6072cfa443119fc89e997d9ff3a7eee5bb33ac36 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Oct 5 14:40:37 2016 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed Oct 5 14:40:37 2016 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=6072cfa4 iproute2: add keywords: noprefixroute mngtmpaddr. iproute2 gained new keywords noprefixroute & mngtmpaddr. The prefix-match quick config wrongly expands noprefixroute to nodad, so fix that. Thanks-To: opensource zhasha.com Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596234 Signed-off-by: Robin H. Johnson gentoo.org> net/iproute2.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/iproute2.sh b/net/iproute2.sh index 0b2a8d6..d74bc29 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -129,8 +129,13 @@ _add_address() pr*) x=preferred_lft ;; esac eval "$x=$1" ; shift ;; - home|nodad|h*|no*) - case $x in h*) x=home ;; n*) x=nodad ;; esac + home|mngtmpaddr|nodad|noprefixroute|h*|mng*|no*) + case $x in + h*) x=home ;; + m*) x=mngtmpaddr ;; + nop*) x=noprefixroute ;; + n*) x=nodad ;; + esac # FIXME: If we need to reorder these, this will take more code confflaglist="${confflaglist} $x" ; ;; *)