aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rpc.c
diff options
context:
space:
mode:
authorSlava Shwartsman <slavash@mellanox.com>2015-06-03 11:36:56 +0300
committerAnders Broman <a.broman58@gmail.com>2015-06-08 11:15:46 +0000
commit951ddf736e976b162920387eba0f77b9732829cf (patch)
treeed1b162bf324967d40b67d58a3d797a5b6fe4934 /epan/dissectors/packet-rpc.c
parent79483782604a20bc9a3278bdf8e5caa9abfcc085 (diff)
rpc: Support IB transport
Bug: 11251 Change-Id: I1e6fab86af3c95a5303af90079c99424941b6e6e Signed-off-by: Slava Shwartsman <slavash@mellanox.com> Reviewed-on: https://code.wireshark.org/review/8759 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r--epan/dissectors/packet-rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c
index 99d3ab3b42..cbcf720b86 100644
--- a/epan/dissectors/packet-rpc.c
+++ b/epan/dissectors/packet-rpc.c
@@ -1974,7 +1974,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
the reply was sent, because some clients (*cough* OS X
NFS client *cough) might send retransmissions from a
different port from the original request. */
- if (pinfo->ptype == PT_TCP) {
+ if ((pinfo->ptype == PT_TCP) || (pinfo->ptype == PT_IBQP)) {
conversation = find_conversation(pinfo->fd->num, &pinfo->src,
&pinfo->dst, pinfo->ptype, pinfo->srcport,
pinfo->destport, 0);
@@ -2016,7 +2016,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* unless we're permitted to scan for embedded records
* and this is a connection-oriented transport, give up */
- if ((! rpc_find_fragment_start) || (pinfo->ptype != PT_TCP)) {
+ if (((! rpc_find_fragment_start) || (pinfo->ptype != PT_TCP)) && (pinfo->ptype != PT_IBQP)) {
return FALSE;
}
@@ -2232,7 +2232,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
the reply was sent, because some clients (*cough* OS X
NFS client *cough) might send retransmissions from a
different port from the original request. */
- if (pinfo->ptype == PT_TCP) {
+ if ((pinfo->ptype == PT_TCP) || (pinfo->ptype == PT_IBQP)) {
conversation = find_conversation(pinfo->fd->num, &pinfo->src,
&pinfo->dst, pinfo->ptype, pinfo->srcport,
pinfo->destport, 0);