aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-08-29 15:10:09 +0000
committerThan Ngo <than@redhat.com>2001-08-29 15:10:09 +0000
commit633f47836273c3895f52659e7d3eefa38eb8fcda (patch)
treeb12294c0c7144f3f18f0cb2fb216b62b4e89e1cf /sysconfig/network-scripts/network-functions
parentb8fd7e66aec3c1dd4c28e6bce7713b99349a4102 (diff)
downloadinitscripts-633f47836273c3895f52659e7d3eefa38eb8fcda.tar
initscripts-633f47836273c3895f52659e7d3eefa38eb8fcda.tar.gz
initscripts-633f47836273c3895f52659e7d3eefa38eb8fcda.tar.bz2
initscripts-633f47836273c3895f52659e7d3eefa38eb8fcda.tar.xz
initscripts-633f47836273c3895f52659e7d3eefa38eb8fcda.zip
- fix ISDN dial on demand bugr6-32
- fix typo bug in network-functions
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 934f55ae..991b5370 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -182,7 +182,7 @@ add_default_route ()
if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" -a "${GATEWAYDEV}" != "" ] ; then
if ! check_device_down $1; then
if [ "$GATEWAY" = "0.0.0.0" ]; then
- /sbin/ip route add default ${GATEWAYDEV}
+ /sbin/ip route add default dev ${GATEWAYDEV}
else
/sbin/ip route add default via ${GATEWAY}
fi