1 |
commit: 6072cfa443119fc89e997d9ff3a7eee5bb33ac36 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 5 14:40:37 2016 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 5 14:40:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=6072cfa4 |
7 |
|
8 |
iproute2: add keywords: noprefixroute mngtmpaddr. |
9 |
|
10 |
iproute2 gained new keywords noprefixroute & mngtmpaddr. |
11 |
The prefix-match quick config wrongly expands noprefixroute to nodad, so |
12 |
fix that. |
13 |
|
14 |
Thanks-To: opensource <AT> zhasha.com |
15 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596234 |
16 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
17 |
|
18 |
net/iproute2.sh | 9 +++++++-- |
19 |
1 file changed, 7 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/net/iproute2.sh b/net/iproute2.sh |
22 |
index 0b2a8d6..d74bc29 100644 |
23 |
--- a/net/iproute2.sh |
24 |
+++ b/net/iproute2.sh |
25 |
@@ -129,8 +129,13 @@ _add_address() |
26 |
pr*) x=preferred_lft ;; |
27 |
esac |
28 |
eval "$x=$1" ; shift ;; |
29 |
- home|nodad|h*|no*) |
30 |
- case $x in h*) x=home ;; n*) x=nodad ;; esac |
31 |
+ home|mngtmpaddr|nodad|noprefixroute|h*|mng*|no*) |
32 |
+ case $x in |
33 |
+ h*) x=home ;; |
34 |
+ m*) x=mngtmpaddr ;; |
35 |
+ nop*) x=noprefixroute ;; |
36 |
+ n*) x=nodad ;; |
37 |
+ esac |
38 |
# FIXME: If we need to reorder these, this will take more code |
39 |
confflaglist="${confflaglist} $x" ; ;; |
40 |
*) |