Skip to content

Commit

Permalink
Specifically use the pysnmp back-end for traps
Browse files Browse the repository at this point in the history
This specifically reaches into the PySNMP-based back-end for handling
traps, thereby making the test suite green again.
  • Loading branch information
lunkwill42 committed Jan 22, 2025
1 parent e6a0023 commit 28aed68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zino/trapd.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import zino.state
from zino.config.models import PollDevice
from zino.oid import OID
from zino.snmp import get_new_snmp_engine, mib_value_to_python
from zino.snmp.pysnmp_backend import get_new_snmp_engine, mib_value_to_python
from zino.statemodels import DeviceState, IPAddress

TrapType = tuple[str, str] # A mib name and a corresponding trap symbolic name
Expand Down

0 comments on commit 28aed68

Please sign in to comment.