MKA: Stop warning for MKA v3

IEEE 802.1X-2020 defined MKA version 3, so the MKA dissector should
not warn that this version does not exist anymore.
This commit is contained in:
Dr. Lars Völker 2021-05-28 21:34:09 +02:00 committed by Wireshark GitLab Utility
parent 96aa5d9b68
commit 642d1ca97d
1 changed files with 2 additions and 1 deletions

View File

@ -623,9 +623,10 @@ dissect_mka(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
/*
* The 802.1X-2010 spec specifies support for MKA version 1 only.
* The 802.1Xbx-2014 spec specifies support for MKA version 2.
* The 802.1X-2020 spec specifies support for MKA version 3.
*/
mka_version_type = tvb_get_guint8(tvb, offset);
if ((mka_version_type != 1) && (mka_version_type != 2)) {
if ((mka_version_type < 1) || (mka_version_type > 3)) {
expert_add_info(pinfo, ti, &ei_unexpected_data);
}