forked from osmocom/wireshark
Add parentheses to satisfy the compiler.
svn path=/trunk/; revision=30842
This commit is contained in:
parent
8ef22d4e08
commit
a1d82636c1
|
@ -1614,7 +1614,7 @@ dissect_6lowpan_iphc_nhc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gi
|
|||
switch (udp_flags & (LOWPAN_NHC_UDP_SRCPORT | LOWPAN_NHC_UDP_DSTPORT)) {
|
||||
case (LOWPAN_NHC_UDP_SRCPORT | LOWPAN_NHC_UDP_DSTPORT):
|
||||
udp.src_port = LOWPAN_PORT_12BIT_OFFSET + (tvb_get_guint8(tvb, offset) >> 4);
|
||||
udp.dst_port = LOWPAN_PORT_12BIT_OFFSET + tvb_get_guint8(tvb, offset) & 0x0f;
|
||||
udp.dst_port = LOWPAN_PORT_12BIT_OFFSET + (tvb_get_guint8(tvb, offset) & 0x0f);
|
||||
src_bitlen = 4;
|
||||
dst_bitlen = 4;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue