aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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