diff options
author | Uli Heilmeier <uh@heilmeier.eu> | 2019-04-22 12:28:58 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-04-23 10:31:15 +0000 |
commit | 025e1347e8f94b9bb6d128dbc7efa9c114ab8c8b (patch) | |
tree | f44a7749b4ec421b1c6d258dc50c00ee811030f2 /epan/dissectors | |
parent | ec0f8128bba044a0e85034738d6b5e06067cc8cd (diff) |
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>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index 801388f1b8..819b7c592c 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -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; } |