From Francesco Fondelli: fix mpls "decode as" dialog

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7089

svn path=/trunk/; revision=42195
This commit is contained in:
pascal 2012-04-22 17:54:13 +00:00
parent d84782b537
commit dbd724e9ad
1 changed files with 5 additions and 2 deletions

View File

@ -556,8 +556,11 @@ dissect_mpls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
decode_mpls_label(tvb, offset, &label, &exp, &bos, &ttl);
/* FF: export (last shim in stack) info to subdissectors */
mplsinfo.label = label;
/*
* FF: export (last shim in stack) info to subdissectors and
* update pinfo
*/
mplsinfo.label = pinfo->mpls_label = label;
mplsinfo.exp = exp;
mplsinfo.bos = bos;
mplsinfo.ttl = ttl;