should the perl SNMP.PM module
Function sub trap support SNMPv3 sessions sending a trap? Currently is only possible to generate an SNMPv3 trap with an inform message rather than a trap message body.
could line 1199
line
} elsif (($this->{Version} eq '2')|| ($this->{Version} eq '2c')) {
be change to:
} elsif (($this->{Version} eq '2')|| ($this->{Version} eq '2c') || ($this->{Version} eq '3'))
From what I can tell reading up online it should be possible to generate an SNMPv3 trap this way.
Thanks for the feedback. A fix for this issue has been checked in on all five actively maintained branches.