Good afternoon, Robert.

> On Tue, 11 Jan 2005 13:39:33 +0200 Denis wrote:
DZ>> I have some problems with snmpd on my FreBSD system,
DZ>> Only 10 interfaces from 42. If I use next command I get:
DZ>> 
DZ>> snmpwalk -v2c -c public 192.168.1.1 ifDescr.11
DZ>> IF-MIB::ifDescr.11 = No Such Instance currently exists at this OID
DZ>> 
DZ>> snmpwalk -v2c -c public 192.168.1.1 ifDescr.12
DZ>> IF-MIB::ifDescr.12 = STRING: vlan4

> I think this is a known issue. Try 5.2.1.rc2 or 5.2 with the patch attached to
> this bug report:

> http://sourceforge.net/tracker/index.php?func=detail&aid=1056927&group_id=12694&atid=312694

There is one mistake in that patch (for version 5.2):

@@ -572,8 +573,9 @@
     if (interface == MATCH_FAILED)
         return NULL;

-    if (Interface_Scan_By_Index(interface, &if_msg, if_name, &sifa) != 0)
+    if (Interface_Scan_By_Index(interface, &if_msg, if_name, NULL) != 0)
         return NULL;
+    if_ptr = netsnmp_access_interface_entry_overrides_get(Name);

In the last line of that fragment of code variable Name is used but it
is not defined yet. In that file function
netsnmp_access_interface_entry_overrides_get is called two times more
but arguments are predefined. Unfortunately without that line in
interfaces.c but with another correction from patch I get the same
result as described in my previous letter.


-- 
With best regards, Denis Zaika,
ISP "Stels" network engineer.
Web: http://www.stels.net
E-mail: [EMAIL PROTECTED]
Phone: +380(62)381-32-12





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to