rpms/net-snmp/devel net-snmp-5.4-64bit.patch, 1.1, 1.2 net-snmp.spec, 1.141, 1.142

Jan Šafránek (jsafrane) fedora-extras-commits at redhat.com
Thu Feb 14 11:56:26 UTC 2008


Author: jsafrane

Update of /cvs/pkgs/rpms/net-snmp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19289

Modified Files:
	net-snmp-5.4-64bit.patch net-snmp.spec 
Log Message:
fixing ipNetToMediaNetAddress to show IP address
Resolves: #432780

net-snmp-5.4-64bit.patch:

Index: net-snmp-5.4-64bit.patch
===================================================================
RCS file: /cvs/pkgs/rpms/net-snmp/devel/net-snmp-5.4-64bit.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- net-snmp-5.4-64bit.patch	28 Nov 2006 07:40:28 -0000	1.1
+++ net-snmp-5.4-64bit.patch	14 Feb 2008 11:56:20 -0000	1.2
@@ -83,9 +83,10 @@
          return (u_char *) LowPhysAddr;
      case IPMEDIANETADDRESS:    /* also ATNETADDRESS */
 -	*var_len = sizeof(uint32_t);
-+	*var_len = sizeof addr_ret;
-         long_return = LowAddr;
+-        long_return = LowAddr;
 -        return (u_char *) & long_return;
++	*var_len = sizeof addr_ret;
++        addr_ret = LowAddr;
 +        return (u_char *) & addr_ret;
      case IPMEDIATYPE:
          *var_len = sizeof long_return;


Index: net-snmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- net-snmp.spec	12 Feb 2008 15:28:05 -0000	1.141
+++ net-snmp.spec	14 Feb 2008 11:56:20 -0000	1.142
@@ -7,7 +7,7 @@
 Summary: A collection of SNMP protocol tools and libraries
 Name: net-snmp
 Version: %{major_ver}
-Release: 9%{?dist}
+Release: 10%{?dist}
 Epoch: 1
 
 License: BSD and CMU
@@ -384,6 +384,9 @@
 %{_libdir}/lib*.so.*
 
 %changelog
+* Thu Feb 14 2008 Jan Safranek <jsafranek at redhat.com> 5.4.1-10
+- fixing ipNetToMediaNetAddress to show IP address (#432780)
+
 * Tue Feb 12 2008 Jan Safranek <jsafranek at redhat.com> 5.4.1-9
 - introduce /etc/sysconfig/snmpd. Use it to specify snmpd command line options.
   /etc/snmp/snmpd.options is not used anymore (#431391)




More information about the fedora-extras-commits mailing list