BGP: remove useless assignments

Closes #16896
This commit is contained in:
Pascal Quantin 2020-10-07 12:20:53 +02:00 committed by Wireshark GitLab Utility
parent 926d6e3799
commit 1afe9a96d4
1 changed files with 0 additions and 2 deletions

View File

@ -2613,8 +2613,6 @@ save_path_attr_encaps_tunnel_type(packet_info *pinfo, guint32 encaps_tunnel_type
(path_attr_data*)p_get_proto_data(wmem_file_scope(), pinfo, proto_bgp, PATH_ATTR_DATA_KEY);
if (!data) {
data = wmem_new0(wmem_file_scope(), path_attr_data);
data->encaps_tunnel_type = 0;
data->encaps_community_present = FALSE;
}
data->encaps_community_present = TRUE;
data->encaps_tunnel_type = encaps_tunnel_type;