aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2007-10-17 18:25:49 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2007-10-17 18:25:49 +0000
commit7d2c0c1b6146887d9dad888e090f381a4ebcb483 (patch)
treecb0810280a1adc356db297c45657ae9c5b91c47b
parent565fe87ad14bdf6140ae4c97dc4a260bd5f79900 (diff)
Logic error
svn path=/trunk/; revision=23220
-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')))
{
/*