aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-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 a5aa378e..5ff58089 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -309,7 +309,7 @@ check_link_down ()
check_default_route ()
{
- LC_ALL=C ip route list match 0/0 | grep -q default
+ LC_ALL=C ip route list match 0.0.0.0/0 | grep -q default
}
find_gateway_dev ()