- 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
This commit is contained in:
parent
580990a32d
commit
48e25b704b
@ -233,6 +233,7 @@ dhconfig() {
|
|||||||
[ ! "${old_routers}" = "${new_routers}" ] ||
|
[ ! "${old_routers}" = "${new_routers}" ] ||
|
||||||
[ ! "${old_interface_mtu}" = "${new_interface_mtu}" ]; then
|
[ ! "${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 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
|
if [ -n "${new_interface_mtu}" ]; then
|
||||||
ip link set ${interface} mtu ${new_interface_mtu}
|
ip link set ${interface} mtu ${new_interface_mtu}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
Summary: Dynamic host configuration protocol software
|
Summary: Dynamic host configuration protocol software
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
# 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.
|
# 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
|
%attr(0644,root,root) %{_mandir}/man3/omapi.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 16 2009 David Cantrell <dcantrell@redhat.com> - 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 <dcantrell@redhat.com> - 12:4.1.0-16
|
* Mon Apr 13 2009 David Cantrell <dcantrell@redhat.com> - 12:4.1.0-16
|
||||||
- Correct %%post problems in dhclient package (#495361)
|
- Correct %%post problems in dhclient package (#495361)
|
||||||
- Read hooks scripts from /etc/dhcp (#495361)
|
- Read hooks scripts from /etc/dhcp (#495361)
|
||||||
|
@ -120,9 +120,6 @@ case "$1" in
|
|||||||
stop ; start
|
stop ; start
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
try-restart|reload)
|
|
||||||
RETVAL=3
|
|
||||||
;;
|
|
||||||
condrestart)
|
condrestart)
|
||||||
if [ -f $lockfile ]; then
|
if [ -f $lockfile ]; then
|
||||||
stop ; start
|
stop ; start
|
||||||
|
@ -98,9 +98,6 @@ case "$1" in
|
|||||||
stop && start
|
stop && start
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
try-restart|reload)
|
|
||||||
RETVAL=3
|
|
||||||
;;
|
|
||||||
condrestart)
|
condrestart)
|
||||||
if [ -f $lockfile ]; then
|
if [ -f $lockfile ]; then
|
||||||
stop && start
|
stop && start
|
||||||
|
Loading…
Reference in New Issue
Block a user