diff options
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/asn1/snmp/snmp.cnf | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-snmp.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/epan/dissectors/asn1/snmp/snmp.cnf b/epan/dissectors/asn1/snmp/snmp.cnf index d1fc181daf..20d4bf45c7 100644 --- a/epan/dissectors/asn1/snmp/snmp.cnf +++ b/epan/dissectors/asn1/snmp/snmp.cnf @@ -201,8 +201,7 @@ BulkPDU/request-id bulkPDU_request-id #.FN_FTR SNMPv3Message if( usm_p.authenticated - && usm_p.user_assoc - && usm_p.user_assoc->user.authModel ) { + && usm_p.user_assoc ) { const gchar* error = NULL; proto_item* authen_item; proto_tree* authen_tree = proto_item_add_subtree(usm_p.auth_item,ett_authParameters); diff --git a/epan/dissectors/packet-snmp.c b/epan/dissectors/packet-snmp.c index 6dbc9c65e1..6d67562f94 100644 --- a/epan/dissectors/packet-snmp.c +++ b/epan/dissectors/packet-snmp.c @@ -2664,7 +2664,7 @@ dissect_snmp_INTEGER_484_2147483647(gboolean implicit_tag _U_, tvbuff_t *tvb _U_ static int dissect_snmp_T_msgFlags(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 239 "./asn1/snmp/snmp.cnf" +#line 238 "./asn1/snmp/snmp.cnf" tvbuff_t *parameter_tvb = NULL; offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, @@ -2849,8 +2849,7 @@ dissect_snmp_SNMPv3Message(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off #line 202 "./asn1/snmp/snmp.cnf" if( usm_p.authenticated - && usm_p.user_assoc - && usm_p.user_assoc->user.authModel ) { + && usm_p.user_assoc ) { const gchar* error = NULL; proto_item* authen_item; proto_tree* authen_tree = proto_item_add_subtree(usm_p.auth_item,ett_authParameters); |