aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-bootp.c2
-rw-r--r--epan/dissectors/packet-pvfs2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c
index 73ba893c51..a90aa02560 100644
--- a/epan/dissectors/packet-bootp.c
+++ b/epan/dissectors/packet-bootp.c
@@ -2710,7 +2710,7 @@ dissect_docsis_cm_cap(proto_tree *v_tree, tvbuff_t *tvb, int voff, int len)
proto_item_append_text(ti,
"802.1Q filtering");
}
- if (! raw_val & 0x03)
+ if (!(raw_val & 0x03))
proto_item_append_text(ti,
"None");
proto_item_append_text(ti,
diff --git a/epan/dissectors/packet-pvfs2.c b/epan/dissectors/packet-pvfs2.c
index cafb2510b9..6cb9b48be3 100644
--- a/epan/dissectors/packet-pvfs2.c
+++ b/epan/dissectors/packet-pvfs2.c
@@ -2483,7 +2483,7 @@ dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree,
}
if ((entry_length == bufsiz) &&
- ((entry[entry_length - 1] != '\n') ||
+ ((entry[entry_length - 1] != '\n') &&
(entry[entry_length - 1] != '\0')))
{
/*