From c18c74e816501b5eb41fc0e8ac92d4801454b861 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 14 Oct 2008 15:27:52 +0000 Subject: Fix adding just the default route, #119 thanks to pva. --- init.d/net.lo.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3