diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-26 13:12:16 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-26 13:12:16 -0700 |
commit | 964a3a835eaa914422d5de55cd4151b4e56b544a (patch) | |
tree | c21b410b6961e414c1cf084447cc115817968d17 | |
parent | net/macchanger: support newer macchanger tool. (diff) | |
download | netifrc-964a3a835eaa914422d5de55cd4151b4e56b544a.tar.gz netifrc-964a3a835eaa914422d5de55cd4151b4e56b544a.tar.bz2 netifrc-964a3a835eaa914422d5de55cd4151b4e56b544a.zip |
net/iproute2: fix netmask specifier.
X-Gentoo-Bug: 598078
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=598078
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | net/iproute2.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iproute2.sh b/net/iproute2.sh index 6efa2e7..32ea5a4 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -133,7 +133,7 @@ _add_address() eerror "Too many netmasks: $raw_address netmask $1" return 1 fi - netmask="/$(_netmask2cidr "$1")" + netmask="$(_netmask2cidr "$1")" shift ;; broadcast|brd|br*) broadcast="$1" ; shift ;; |