commit:     6072cfa443119fc89e997d9ff3a7eee5bb33ac36
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 14:40:37 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <AT> zhasha.com
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596234
Signed-off-by: Robin H. Johnson <robbat2 <AT> 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" ; ;;
                        *)

Reply via email to