Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NET-SNMP 5.8 #33

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Commits on Jul 28, 2021

  1. Add msgMaxSize to netsnmp_pdu on NET-SNMP >= 5.8

    Because:
    - This field was added to the struct in NET-SNMP 5.8, causing a binary
      incompatibility.
    
    Reference:
    net-snmp/net-snmp@f629d12
    lunkwill42 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    7be1b6a View commit details
    Browse the repository at this point in the history
  2. Add trap_stats to session on NET-SNMP >= 5.8

    Because:
    - This field was added to the netsnmp_session struct in NET-SNMP 5.8,
      causing a binary incompatibility.
    
    Reference:
    net-snmp/net-snmp@cd5174a
    lunkwill42 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    bbdfa5a View commit details
    Browse the repository at this point in the history
  3. Double USM_*_KU_LEN constants on NET-SNMP >= 5.8

    Because:
    - These size constants used for struct sizes were doubled in NET-SNMP
      5.8, causing a binary incompatibility.
    
    Reference:
    net-snmp/net-snmp@09ac3f2
    lunkwill42 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    5abc443 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Fix incorrect trap_stats definition

    The definition bbdfa5a was trying to
    make was for `trap_stats`, not `msgMaxSize`. Looks like this was a
    stupid copypasta error.
    lunkwill42 committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    f22ccfc View commit details
    Browse the repository at this point in the history