summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-15 12:13:42 +0000
committerRoy Marples <roy@marples.name>2008-01-15 12:13:42 +0000
commit18da799040f6d736208065ee53f4d88eaf23733d (patch)
treef9d906de478333fdc6eba57f4a39da998face4e6 /sh
parent38f8eee495494a4c08adb64faa5b2c37d059765c (diff)
downloadopenrc-18da799040f6d736208065ee53f4d88eaf23733d.tar.gz
openrc-18da799040f6d736208065ee53f4d88eaf23733d.tar.bz2
openrc-18da799040f6d736208065ee53f4d88eaf23733d.tar.xz
Allow things after the /32 for host routes.
Diffstat (limited to 'sh')
-rwxr-xr-xsh/net.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/net.sh b/sh/net.sh
index f462afd..58e9020 100755
--- a/sh/net.sh
+++ b/sh/net.sh
@@ -582,7 +582,7 @@ ${routes}"
case ${cmd} in
-net" "*|-host" "*);;
*" "netmask" "*) cmd="-net ${cmd}";;
- *.*.*.*/32) cmd="-host ${cmd}";;
+ *.*.*.*/32*) cmd="-host ${cmd}";;
*.*.*.*/*|0.0.0.0" "*|default" "*) cmd="-net ${cmd}";;
*) cmd="-host ${cmd}";;
esac