forked from osmocom/wireshark
PCEP: fix SID parsing, label is the first 20 bits
Change-Id: I13d2ff79b171b232dd4e1e1082beeae2e36dec51 Signed-off-by: Francesco Fondelli <francesco.fondelli@gmail.com> Reviewed-on: https://code.wireshark.org/review/8451 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
232f260050
commit
46d89bd27f
1 changed files with 1 additions and 1 deletions
|
@ -1301,7 +1301,7 @@ dissect_subobj_sr(proto_tree *pcep_subobj_tree, packet_info *pinfo, tvbuff_t *tv
|
|||
return;
|
||||
}
|
||||
|
||||
sid = tvb_get_ntohl(tvb, offset + 4);
|
||||
sid = tvb_get_ntohl(tvb, offset + 4) >> 12;
|
||||
proto_item_append_text(ti, ": %u", sid);
|
||||
st = ((tvb_get_guint8(tvb, offset + 2)) >> 4);
|
||||
|
||||
|
|
Loading…
Reference in a new issue