Fix the adding of default routes
This commit is contained in:
parent
b6aa56ce14
commit
a273f8df55
@ -590,7 +590,7 @@ ${routes}"
|
|||||||
-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
|
||||||
if ${hidefirstroute}; then
|
if ${hidefirstroute}; then
|
||||||
|
Loading…
Reference in New Issue
Block a user