aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2000-02-01 21:35:44 +0000
committerNalin Dahyabhai <nalin@redhat.com>2000-02-01 21:35:44 +0000
commit5aedc0ec853a43a3ab0a2a50c1dfc475e2a8fa3b (patch)
tree7f851264b4f8729c91ecf8c1a95336f9a93feade
parentb64c0e6d4fcf2be6adb5bda356af5a630c40aaf6 (diff)
downloadinitscripts-5aedc0ec853a43a3ab0a2a50c1dfc475e2a8fa3b.tar
initscripts-5aedc0ec853a43a3ab0a2a50c1dfc475e2a8fa3b.tar.gz
initscripts-5aedc0ec853a43a3ab0a2a50c1dfc475e2a8fa3b.tar.bz2
initscripts-5aedc0ec853a43a3ab0a2a50c1dfc475e2a8fa3b.tar.xz
initscripts-5aedc0ec853a43a3ab0a2a50c1dfc475e2a8fa3b.zip
AAAACK! wrong IP for default route!
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 93ef3b40..a71223e0 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -61,7 +61,7 @@ check_device_down ()
check_default_route ()
{
- return `/sbin/route -n|gawk 'BEGIN{r=1} $3=="0.0.0.1" && $4=="UG" {r=0} END{print r}'`
+ return `/sbin/route -n|gawk 'BEGIN{r=1} $3=="0.0.0.0" && $4=="UG" {r=0} END{print r}'`
}
find_gateway_dev ()