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 117e281..f80ff43 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: 5%{?dist} +Release: 6%{?dist} Epoch: 1 License: BSD and CMU @@ -360,6 +360,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.so.* %changelog +* Thu Feb 14 2008 Jan Safranek 5.4.1-6 +- fixing ipNetToMediaNetAddress to show IP address (#432780) + * Thu Nov 15 2007 Jan Safranek 5.4.1-5 - added procps to build dependencies (#380321) - fix crash on reading xen interfaces (#386611)