aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/address.h1
-rw-r--r--epan/conversation.c2
-rw-r--r--epan/dissectors/packet-exported_pdu.c3
-rw-r--r--epan/dissectors/packet-fc.c7
-rw-r--r--epan/exported_pdu.c2
-rw-r--r--epan/to_str.c1
6 files changed, 4 insertions, 12 deletions
diff --git a/epan/address.h b/epan/address.h
index d2b9af13ce..90dcb29d87 100644
--- a/epan/address.h
+++ b/epan/address.h
@@ -362,7 +362,6 @@ typedef enum {
PT_UDP, /* UDP */
PT_DCCP, /* DCCP */
PT_IPX, /* IPX sockets */
- PT_EXCHG, /* Fibre Channel exchange */
PT_DDP, /* DDP AppleTalk connection */
PT_IDP, /* XNS IDP sockets */
PT_USB, /* USB endpoint 0xffff means the host */
diff --git a/epan/conversation.c b/epan/conversation.c
index b0bfd54f07..3093212875 100644
--- a/epan/conversation.c
+++ b/epan/conversation.c
@@ -1400,8 +1400,6 @@ endpoint_type conversation_pt_to_endpoint_type(port_type pt)
return ENDPOINT_DCCP;
case PT_IPX:
return ENDPOINT_IPX;
- case PT_EXCHG:
- return ENDPOINT_EXCHG;
case PT_DDP:
return ENDPOINT_DDP;
case PT_IDP:
diff --git a/epan/dissectors/packet-exported_pdu.c b/epan/dissectors/packet-exported_pdu.c
index 390a205d86..8eda310152 100644
--- a/epan/dissectors/packet-exported_pdu.c
+++ b/epan/dissectors/packet-exported_pdu.c
@@ -148,8 +148,6 @@ static port_type exp_pdu_old_to_new_port_type(guint type)
return PT_DCCP;
case OLD_PT_IPX:
return PT_IPX;
- case OLD_PT_EXCHG:
- return PT_EXCHG;
case OLD_PT_DDP:
return PT_DDP;
case OLD_PT_IDP:
@@ -162,6 +160,7 @@ static port_type exp_pdu_old_to_new_port_type(guint type)
return PT_IBQP;
case OLD_PT_BLUETOOTH:
return PT_BLUETOOTH;
+ case OLD_PT_EXCHG:
case OLD_PT_TIPC:
case OLD_PT_TDMOP:
case OLD_PT_NCP:
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c
index 762884b3dd..04a3cdbf37 100644
--- a/epan/dissectors/packet-fc.c
+++ b/epan/dissectors/packet-fc.c
@@ -733,8 +733,9 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
if(!is_ifcp){
set_address_tvb (&pinfo->dst, AT_FC, 3, tvb, offset+1);
set_address_tvb (&pinfo->src, AT_FC, 3, tvb, offset+5);
- pinfo->srcport=0;
- pinfo->destport=0;
+ conversation_create_endpoint(pinfo, &pinfo->src, &pinfo->dst, ENDPOINT_EXCHG, 0, 0, 0);
+ } else {
+ conversation_create_endpoint(pinfo, &pinfo->src, &pinfo->dst, ENDPOINT_EXCHG, pinfo->srcport, pinfo->destport, 0);
}
set_address(&fchdr->d_id, pinfo->dst.type, pinfo->dst.len, pinfo->dst.data);
set_address(&fchdr->s_id, pinfo->src.type, pinfo->src.len, pinfo->src.data);
@@ -749,8 +750,6 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
param = tvb_get_ntohl (tvb, offset+20);
seq_id = tvb_get_guint8 (tvb, offset+12);
- pinfo->ptype = PT_EXCHG;
-
/* set up a conversation and conversation data */
/* TODO treat the fc address s_id==00.00.00 as a wildcard matching anything */
conversation=find_or_create_conversation(pinfo);
diff --git a/epan/exported_pdu.c b/epan/exported_pdu.c
index b271135e6d..d1f80a3288 100644
--- a/epan/exported_pdu.c
+++ b/epan/exported_pdu.c
@@ -116,8 +116,6 @@ static guint exp_pdu_new_to_old_port_type(port_type pt)
return OLD_PT_DCCP;
case PT_IPX:
return OLD_PT_IPX;
- case PT_EXCHG:
- return OLD_PT_EXCHG;
case PT_DDP:
return OLD_PT_DDP;
case PT_IDP:
diff --git a/epan/to_str.c b/epan/to_str.c
index db83dc04c0..973b9c6570 100644
--- a/epan/to_str.c
+++ b/epan/to_str.c
@@ -1137,7 +1137,6 @@ port_type_to_str (port_type type)
case PT_UDP: return "UDP";
case PT_DCCP: return "DCCP";
case PT_IPX: return "IPX";
- case PT_EXCHG: return "FC EXCHG";
case PT_DDP: return "DDP";
case PT_IDP: return "IDP";
case PT_USB: return "USB";