diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-10-17 18:25:49 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-10-17 18:25:49 +0000 |
commit | 2fe9a235a4f661ad42a58429a9842ed7292ba158 (patch) | |
tree | cb0810280a1adc356db297c45657ae9c5b91c47b /epan | |
parent | 404781af44ce6e243b933c4d2af6b252fab7b502 (diff) |
Logic error
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23220 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-bootp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-pvfs2.c | 2 |
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'))) { /* |