diff --git a/net-snmp-5.4-64bit.patch b/net-snmp-5.4-64bit.patch index 96b0610..7755013 100644 --- a/net-snmp-5.4-64bit.patch +++ b/net-snmp-5.4-64bit.patch @@ -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; diff --git a/net-snmp.spec b/net-snmp.spec index 70a0809..a81727f 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -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 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.so.* %changelog +* Thu Feb 14 2008 Jan Safranek 5.4.1-10 +- fixing ipNetToMediaNetAddress to show IP address (#432780) + * Tue Feb 12 2008 Jan Safranek 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)