Ignore:
Timestamp:
2011-10-03T11:23:37+02:00 (5 years ago)
Author:
jow
Message:

[packages_10.03.1] merge r28358

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.1/net/mini_snmpd/patches/103-mib_encode_snmp_element_oid_fix.patch

    r26826 r28359  
    1111        length = 1; 
    1212        for (i = 2; i < oid_value->subid_list_length; i++) { 
    13 @@ -307,6 +310,8 @@ static int mib_build_entry(const oid_t * 
    14                         value->data.encoded_length = 0; 
     13@@ -310,6 +313,8 @@ static int mib_build_entry(const oid_t * 
    1514                        value->data.buffer = malloc(value->data.max_length); 
     15                        memset(value->data.buffer, 0, value->data.max_length); 
    1616                        if (encode_snmp_element_oid(value, oid_aton((const char *)default_value)) == -1) { 
    1717+                               lprintf(LOG_ERR, "could not create MIB entry '%s.%d.%d': invalid oid '%s'\n", 
Note: See TracChangeset for help on using the changeset viewer.