diff options
author | Roy Marples <roy@marples.name> | 2008-10-14 15:27:52 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-10-14 15:27:52 +0000 |
commit | c18c74e816501b5eb41fc0e8ac92d4801454b861 (patch) | |
tree | 3b8be183c6ec47ca587e151c1472bd88a96927b9 /init.d/net.lo.in | |
parent | da94fad3f517c3b95c4eb1f3ee55bfe48b3f4783 (diff) |
Fix adding just the default route, #119 thanks to pva.
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r-- | init.d/net.lo.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 4dadee91..583c8958 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -581,7 +581,8 @@ ${routes}" -net" "*|-host" "*);; *" "netmask" "*) cmd="-net ${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}";; esac if ${hidefirstroute}; then |