LDP: Add support for MP2MP FEC

As stated in https://tools.ietf.org/html/rfc6388#section-3.2
MP2MP uses the same structure as the P2MP FEC element.

Bug: 13171
Change-Id: Ia619deac6075f5eb27dff2144edbbb60b440cc46
Reviewed-on: https://code.wireshark.org/review/24677
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Uli Heilmeier 2017-12-02 21:50:58 +01:00 committed by Michael Mann
parent c4af29ceb2
commit 0455040c0e
1 changed files with 2 additions and 0 deletions

View File

@ -1498,6 +1498,8 @@ dissect_tlv_fec(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tre
break;
}
case P2MP_FEC:
case MP2MP_FEC_UP:
case MP2MP_FEC_DOWN:
{
if (rem < 4 ){/*not enough*/
proto_item* inv_length;