From b91419a9a27c9d04465fa1578e531d492a109e97 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 13 Mar 2001 16:01:08 +0000 Subject: fix typo (#31627) --- sysconfig/network-scripts/ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index a3834af7..45a341c4 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -166,7 +166,7 @@ else if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then # set up default gateway - if [ -n "${GATEWAY}" -a "`ipcalc --network ${GATEWAY} ${NETMASK}` 2>/dev/null" = "NETWORK=${NETWORK}" ]; then + if [ -n "${GATEWAY}" -a "`ipcalc --network ${GATEWAY} ${NETMASK} 2>/dev/null`" = "NETWORK=${NETWORK}" ]; then route add default gw ${GATEWAY} ${DEVICE} DEFGW=${GATEWAY} elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then -- cgit v1.2.1