diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-11-06 07:08:40 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-11-06 07:08:40 +0000 |
commit | a1d82636c1415ce591aa226294ed738ee8d6c759 (patch) | |
tree | 8251c8bc87351b8beb14431ef9daa00cd4185850 /epan/dissectors/packet-6lowpan.c | |
parent | 8ef22d4e08a70229dae5e46cf3b54a7131e3ddd0 (diff) |
Add parentheses to satisfy the compiler.
svn path=/trunk/; revision=30842
Diffstat (limited to 'epan/dissectors/packet-6lowpan.c')
-rw-r--r-- | epan/dissectors/packet-6lowpan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-6lowpan.c b/epan/dissectors/packet-6lowpan.c index 6b05211c44..ccf9575e5b 100644 --- a/epan/dissectors/packet-6lowpan.c +++ b/epan/dissectors/packet-6lowpan.c @@ -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; |