aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/snmp
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/snmp')
-rw-r--r--asn1/snmp/snmp.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/snmp/snmp.cnf b/asn1/snmp/snmp.cnf
index 09a83dbe60..be6eb81562 100644
--- a/asn1/snmp/snmp.cnf
+++ b/asn1/snmp/snmp.cnf
@@ -201,7 +201,7 @@ gint pdu_type=-1;
if (usm_p.authOK) {
expert = &ei_snmp_authentication_ok;
} else {
- const gchar* calc_auth_str = bytestring_to_str(calc_auth,calc_auth_len,' ');
+ const gchar* calc_auth_str = bytestring_to_str(wmem_packet_scope(), calc_auth,calc_auth_len,' ');
proto_item_append_text(authen_item, " calculated = %s", calc_auth_str);
expert = &ei_snmp_authentication_error;
}