rpms/dhcp/devel dhcp.spec,1.217,1.218 linux,1.18,1.19

David Cantrell dcantrel at fedoraproject.org
Mon Aug 25 01:32:29 UTC 2008


Author: dcantrel

Update of /cvs/pkgs/rpms/dhcp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14561

Modified Files:
	dhcp.spec linux 
Log Message:
* Sun Aug 24 2008 David Cantrell <dcantrell at redhat.com> - 12:4.0.0-22
- Add missing '[' to dhclient-script (#459860)
- Correct test statement in add_default_gateway() in dhclient-script (#459860)



Index: dhcp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/dhcp.spec,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -r1.217 -r1.218
--- dhcp.spec	23 Aug 2008 21:05:07 -0000	1.217
+++ dhcp.spec	25 Aug 2008 01:31:58 -0000	1.218
@@ -4,7 +4,7 @@
 Summary:  DHCP (Dynamic Host Configuration Protocol) server and relay agent
 Name:     dhcp
 Version:  4.0.0
-Release:  21%{?dist}
+Release:  22%{?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.
@@ -440,6 +440,10 @@
 %{_libdir}/libdhcp4client.so
 
 %changelog
+* Sun Aug 24 2008 David Cantrell <dcantrell at redhat.com> - 12:4.0.0-22
+- Add missing '[' to dhclient-script (#459860)
+- Correct test statement in add_default_gateway() in dhclient-script (#459860)
+
 * Sat Aug 23 2008 David Cantrell <dcantrell at redhat.com> - 12:4.0.0-21
 - Fix syntax error in dhclient-script (#459860)
 


Index: linux
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/linux,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- linux	23 Aug 2008 21:05:07 -0000	1.18
+++ linux	25 Aug 2008 01:31:58 -0000	1.19
@@ -183,7 +183,7 @@
     router="${1}"
     metric=""
 
-    if [ $# -gt 1 ] && [ "${2}" -gt 0 ]; then
+    if [ $# -gt 1 ] && [ ${2} -gt 0 ]; then
         metric="metric ${2}"
     fi
 
@@ -215,7 +215,7 @@
         ip -family inet link set dev ${interface} down
     fi
 
-    if [ "${REASON}" = "BOUND" ] || "${REASON}" = "REBOOT" ] ||
+    if [ "${reason}" = "BOUND" ] || [ "${reason}" = "REBOOT" ] ||
        [ ! "${old_ip_address}" = "${new_ip_address}" ] ||
        [ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
        [ ! "${old_network_number}" = "${new_network_number}" ] ||




More information about the fedora-extras-commits mailing list