buglwIP - A Lightweight TCP/IP stack - Bugs: bug #52300, Minor typo in snmp_opts.h

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #52300: Minor typo in snmp_opts.h

Submitted by:  Mike Kleshov <kleshov>
Submitted on:  Sat 28 Oct 2017 11:07:39 AM UTC  
 
Category: appsSeverity: 2 - Minor
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Sat 28 Oct 2017 01:42:45 PM UTC, comment #1:

Thanks for reporting!

Dirk Ziegelmeier <dziegel>
Project Member
Sat 28 Oct 2017 11:07:39 AM UTC, original submission:

The comments for MIN and MAX need to be swapped:
/**

  • The maximum size of a value.

*/
#define SNMP_MIN_VALUE_SIZE (2 * sizeof(u32_t)) / size required to store the basic types (8 bytes for counter64) */
/**

  • The minimum size of a value.

*/
#define SNMP_MAX_VALUE_SIZE LWIP_MAX(LWIP_MAX((SNMP_MAX_OCTET_STRING_LEN), sizeof(u32_t)*(SNMP_MAX_OBJ_ID_LEN)), SNMP_MIN_VALUE_SIZE)

Mike Kleshov <kleshov>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dziegel (Posted a comment)
  • -unavailable- added by kleshov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 28 Oct 2017 01:42:45 PM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 28 Oct 2017 11:08:10 AM UTCkleshovSummaryMinor type in snmp_opts.h=>Minor typo in snmp_opts.h

    Back to the top


    Powered by Savane 3.1-cleanup1