diff --git a/lib/net/snmp.rb b/lib/net/snmp.rb index 0eb8f44..cf12770 100644 --- a/lib/net/snmp.rb +++ b/lib/net/snmp.rb @@ -164,6 +164,7 @@ module Net unless ErrorStatusCodes.has_key?(es) raise Error.new("unknown error-status: #{es}") end + @error_status = es end def community= c