diff options
author | Bill Nottingham <notting@redhat.com> | 2008-09-03 10:13:30 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-10-14 16:30:07 -0400 |
commit | e113533d88d31bddc867e601db5deacda0c4f8ef (patch) | |
tree | ba08a46817fee6192d020cc74dd337cfa81b1932 /sysconfig/network-scripts/network-functions | |
parent | 04c7e48408dd2fae257afa9ed64755718289e3c6 (diff) | |
download | initscripts-e113533d88d31bddc867e601db5deacda0c4f8ef.tar initscripts-e113533d88d31bddc867e601db5deacda0c4f8ef.tar.gz initscripts-e113533d88d31bddc867e601db5deacda0c4f8ef.tar.bz2 initscripts-e113533d88d31bddc867e601db5deacda0c4f8ef.tar.xz initscripts-e113533d88d31bddc867e601db5deacda0c4f8ef.zip |
Use 0.0.0.0/0, not 0/0. (#460580)
Updated iproute doesn't like the old syntax.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 1a170418..5ab9cd4a 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -342,7 +342,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 () |