summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-03-14 08:11:18 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-03-14 08:11:18 +0000
commit329b915b66ea87f2cdff0cbec6ac2743d8597b21 (patch)
treeee9adfebf8ae61d06846574e0531e52b73ddc535
parent6ea1f1a77c886f6d5c75aa3ec2b269b07d64ba7f (diff)
downloadwireshark-329b915b66ea87f2cdff0cbec6ac2743d8597b21.tar.gz
coverity bug 139
actually allow dissection of RELEASE_LOCKOWNER call instead of letting it hang as dead code svn path=/trunk/; revision=17626
-rw-r--r--epan/dissectors/packet-nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 0d2121544f..4f47118b0a 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -7007,7 +7007,7 @@ dissect_nfs_argop4(tvbuff_t *tvb, int offset, packet_info *pinfo,
offset += 4;
/* the opcodes are not contiguous */
- if ((opcode < NFS4_OP_ACCESS || opcode > NFS4_OP_WRITE) &&
+ if ((opcode < NFS4_OP_ACCESS || opcode > NFS4_OP_RELEASE_LOCKOWNER) &&
(opcode != NFS4_OP_ILLEGAL))
break;