diff --git a/dhclient-script b/dhclient-script index 0a1f935..070a2a8 100755 --- a/dhclient-script +++ b/dhclient-script @@ -233,6 +233,7 @@ dhconfig() { [ ! "${old_routers}" = "${new_routers}" ] || [ ! "${old_interface_mtu}" = "${new_interface_mtu}" ]; then ip -family inet addr add ${new_ip_address}/${new_prefix} broadcast ${new_broadcast_address} dev ${interface} + ip -family inet link set dev ${interface} up if [ -n "${new_interface_mtu}" ]; then ip link set ${interface} mtu ${new_interface_mtu} diff --git a/dhcp.spec b/dhcp.spec index 87664b4..0592a88 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -10,7 +10,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.1.0 -Release: 16%{?dist} +Release: 17%{?dist} # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # dcantrell maintaining the package) made incorrect use of the epoch and # that's why it is at 12 now. It should have never been used, but it was. @@ -419,6 +419,11 @@ fi %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz %changelog +* Thu Apr 16 2009 David Cantrell - 12:4.1.0-17 +- Fix setting default route when client IP address changes (#486512, #473658) +- 'reload' and 'try-restart' on dhcpd and dhcrelay init scripts + will display usage information and return code 3 + * Mon Apr 13 2009 David Cantrell - 12:4.1.0-16 - Correct %%post problems in dhclient package (#495361) - Read hooks scripts from /etc/dhcp (#495361) diff --git a/dhcpd.init b/dhcpd.init index 98e78fc..02977c9 100644 --- a/dhcpd.init +++ b/dhcpd.init @@ -120,9 +120,6 @@ case "$1" in stop ; start RETVAL=$? ;; - try-restart|reload) - RETVAL=3 - ;; condrestart) if [ -f $lockfile ]; then stop ; start diff --git a/dhcrelay.init b/dhcrelay.init index 6c40195..78c3c93 100644 --- a/dhcrelay.init +++ b/dhcrelay.init @@ -98,9 +98,6 @@ case "$1" in stop && start RETVAL=$? ;; - try-restart|reload) - RETVAL=3 - ;; condrestart) if [ -f $lockfile ]; then stop && start