aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-02-07 03:13:21 +0000
committerBill Nottingham <notting@redhat.com>2002-02-07 03:13:21 +0000
commit13e0e958e75433dbe97deccfb73cd22ea9ad15b7 (patch)
tree69306a55176b1c724436a24d8f440fdf845fdd02
parent0f4f383f0771c55144b156ca57f7e00c6097c241 (diff)
downloadinitscripts-13e0e958e75433dbe97deccfb73cd22ea9ad15b7.tar
initscripts-13e0e958e75433dbe97deccfb73cd22ea9ad15b7.tar.gz
initscripts-13e0e958e75433dbe97deccfb73cd22ea9ad15b7.tar.bz2
initscripts-13e0e958e75433dbe97deccfb73cd22ea9ad15b7.tar.xz
initscripts-13e0e958e75433dbe97deccfb73cd22ea9ad15b7.zip
- fix bug in setting netmask on s390/s390x (bug #55421)
nmbd daemon works now ;-)
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
index 5f4bb2fc..48c822da 100755
--- a/sysconfig/network-scripts/ifup-iucv
+++ b/sysconfig/network-scripts/ifup-iucv
@@ -24,9 +24,9 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP}
+ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
if [ "${NETWORK}" != "" ] ; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -host ${REMIP} metric 1 ${DEVICE}
fi
. /etc/sysconfig/network