fixing ipNetToMediaNetAddress to show IP address Resolves: #432780
This commit is contained in:
parent
78c775e3c7
commit
e48083ef9a
@ -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;
|
||||
|
@ -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 <jsafranek@redhat.com> 5.4.1-10
|
||||
- fixing ipNetToMediaNetAddress to show IP address (#432780)
|
||||
|
||||
* Tue Feb 12 2008 Jan Safranek <jsafranek@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)
|
||||
|
Loading…
Reference in New Issue
Block a user