aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2007-10-03 19:35:32 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2007-10-03 19:35:32 +0000
commit87cffefe2f6cc630f076c615b481534c654c33c7 (patch)
treeae8779a85a0c8ffa8bef664e793345354541fe60
parent2a8f9b4c99a99ff2a765549f7ae10863576b2409 (diff)
Added parentheses to make the buildbot happy.
svn path=/trunk/; revision=23065
-rw-r--r--plugins/profinet/packet-dcerpc-pn-io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/profinet/packet-dcerpc-pn-io.c b/plugins/profinet/packet-dcerpc-pn-io.c
index f4ffb33eb0..9c4a9a063d 100644
--- a/plugins/profinet/packet-dcerpc-pn-io.c
+++ b/plugins/profinet/packet-dcerpc-pn-io.c
@@ -2177,7 +2177,7 @@ dissect_IdentificationData_block(tvbuff_t *tvb, int offset,
proto_tree *subslot_tree;
- if(u8BlockVersionHigh != 1 || u8BlockVersionLow != 0 && u8BlockVersionLow != 1) {
+ if(u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) {
expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN,
"Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow);
return offset;
@@ -3322,7 +3322,7 @@ dissect_AdjustDomainBoundary_block(tvbuff_t *tvb, int offset,
guint16 u16AdjustProperties;
- if(u8BlockVersionHigh != 1 || u8BlockVersionLow != 0 && u8BlockVersionLow != 1) {
+ if(u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) {
expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN,
"Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow);
return offset;
@@ -4021,7 +4021,7 @@ dissect_PDIRGlobalData_block(tvbuff_t *tvb, int offset,
guint32 u32Tmp;
- if(u8BlockVersionHigh != 1 || u8BlockVersionLow != 0 && u8BlockVersionLow != 1) {
+ if(u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) {
expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN,
"Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow);
return offset;
@@ -4148,7 +4148,7 @@ dissect_DiagnosisData_block(tvbuff_t *tvb, int offset,
guint16 u16UserStructureIdentifier;
- if(u8BlockVersionHigh != 1 || u8BlockVersionLow != 0 && u8BlockVersionLow != 1) {
+ if(u8BlockVersionHigh != 1 || (u8BlockVersionLow != 0 && u8BlockVersionLow != 1)) {
expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN,
"Block version %u.%u not implemented yet!", u8BlockVersionHigh, u8BlockVersionLow);
return offset;