ISAKMP: Fix duplicated-branches warning

Fix duplicated-branches warning.

Change-Id: I01f88fc7b232807f648428126d1aed3f8e7657ca
Reviewed-on: https://code.wireshark.org/review/32939
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Uli Heilmeier 2019-04-22 12:28:58 +02:00 committed by Alexis La Goutte
parent ec0f8128bb
commit 025e1347e8
1 changed files with 1 additions and 3 deletions

View File

@ -5478,10 +5478,8 @@ dissect_key_download(tvbuff_t *tvb, packet_info *pinfo _U_, int offset, int leng
num_key_pkt -= 1;
}
} else if (isakmp_version == 2) {
/* TODO: currently only draft status: draft-yeung-g-ikev2-15 */
return;
} else {
/* TODO: For IKEv2: currently only draft status: draft-yeung-g-ikev2-15 */
/* Skip dissection for unknown IKE versions. */
return;
}