aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-10-05 07:40:37 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-10-05 07:40:37 -0700
commit6072cfa443119fc89e997d9ff3a7eee5bb33ac36 (patch)
tree29dc163f6e157cacf3648933adf32d0e18f25488 /net
parentFix missing interface types (diff)
downloadnetifrc-6072cfa443119fc89e997d9ff3a7eee5bb33ac36.tar.gz
netifrc-6072cfa443119fc89e997d9ff3a7eee5bb33ac36.tar.bz2
netifrc-6072cfa443119fc89e997d9ff3a7eee5bb33ac36.zip
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 <robbat2@gentoo.org>
Diffstat (limited to 'net')
-rw-r--r--net/iproute2.sh9
1 files 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" ; ;;
*)