aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-04-23 14:31:32 -0400
committerBill Nottingham <notting@redhat.com>2010-04-23 14:32:19 -0400
commitafcdc680ad34e411446beabb692bf960c27aa8e5 (patch)
treee7b8f9a303341e0de6025dfff76aea83f6218753
parent760d7daa3ae1871ac831191179289dcc21d62aaa (diff)
downloadinitscripts-afcdc680ad34e411446beabb692bf960c27aa8e5.tar
initscripts-afcdc680ad34e411446beabb692bf960c27aa8e5.tar.gz
initscripts-afcdc680ad34e411446beabb692bf960c27aa8e5.tar.bz2
initscripts-afcdc680ad34e411446beabb692bf960c27aa8e5.tar.xz
initscripts-afcdc680ad34e411446beabb692bf960c27aa8e5.zip
Run dhclient -6 similar to dhclient -4. (#585047)
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index f9304ec2..e42ddb4a 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -289,7 +289,7 @@ fi
# IPv6 initialisation?
/etc/sysconfig/network-scripts/ifup-ipv6 ${CONFIG}
if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -x /sbin/dhclient ]; then
- /sbin/dhclient -6 ${DHCPV6C_OPTIONS} -lf /var/lib/dhclient/dhclient6-${DEVICE}.leases -pf /var/run/dhclient6-${DEVICE}.pid ${DHCP_HOSTNAME:+-H $DHCP_HOSTNAME} ${DEVICE}
+ /sbin/dhclient -6 -1 ${DHCPV6C_OPTIONS} -lf /var/lib/dhclient/dhclient6-${DEVICE}.leases -pf /var/run/dhclient6-${DEVICE}.pid ${DHCP_HOSTNAME:+-H $DHCP_HOSTNAME} ${DEVICE}
fi
exec /etc/sysconfig/network-scripts/ifup-post ${CONFIG} ${2}