aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/net.lo.in3
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