Allow things after the /32 for host routes.
This commit is contained in:
parent
38f8eee495
commit
18da799040
@ -582,7 +582,7 @@ ${routes}"
|
|||||||
case ${cmd} in
|
case ${cmd} in
|
||||||
-net" "*|-host" "*);;
|
-net" "*|-host" "*);;
|
||||||
*" "netmask" "*) cmd="-net ${cmd}";;
|
*" "netmask" "*) cmd="-net ${cmd}";;
|
||||||
*.*.*.*/32) cmd="-host ${cmd}";;
|
*.*.*.*/32*) cmd="-host ${cmd}";;
|
||||||
*.*.*.*/*|0.0.0.0" "*|default" "*) cmd="-net ${cmd}";;
|
*.*.*.*/*|0.0.0.0" "*|default" "*) cmd="-net ${cmd}";;
|
||||||
*) cmd="-host ${cmd}";;
|
*) cmd="-host ${cmd}";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user