aboutsummaryrefslogtreecommitdiff
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)
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 f462afdb..58e9020d 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