summaryrefslogtreecommitdiff
path: root/net.BSD
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-10 23:22:46 +0000
committerRoy Marples <roy@marples.name>2008-01-10 23:22:46 +0000
commit2d95c9a756c4c7b9301e04c274c3b139e0d1aef4 (patch)
tree4bd58fa2b4b8e01f5df1352ce7d06effe719b441 /net.BSD
parent5aea880f8158945d2cc9390891de6af8ca0a9b28 (diff)
downloadopenrc-2d95c9a756c4c7b9301e04c274c3b139e0d1aef4.tar.gz
openrc-2d95c9a756c4c7b9301e04c274c3b139e0d1aef4.tar.bz2
openrc-2d95c9a756c4c7b9301e04c274c3b139e0d1aef4.tar.xz
Loads of NetBSD tweaks here.
Diffstat (limited to 'net.BSD')
-rw-r--r--net.BSD/ifconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.BSD/ifconfig.sh b/net.BSD/ifconfig.sh
index d8957e9..438632c 100644
--- a/net.BSD/ifconfig.sh
+++ b/net.BSD/ifconfig.sh
@@ -128,7 +128,7 @@ _add_address() {
# ifconfig doesn't like CIDR addresses
case "${RC_UNAME}" in
- NetBSD|OpenBSD)
+ OpenBSD)
local ip="${1%%/*}" cidr="${1##*/}" netmask=
if [ -n "${cidr}" -a "${cidr}" != "${ip}" ]; then
netmask="$(_cidr2netmask "${cidr}")"