Fix adding just the default route, #119 thanks to pva.
This commit is contained in:
parent
da94fad3f5
commit
c18c74e816
@ -581,7 +581,8 @@ ${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|0.0.0.0" "*) cmd="-net ${cmd}";;
|
||||||
|
default|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