aboutsummaryrefslogtreecommitdiffstats
path: root/packet-fcels.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-30 02:06:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-30 02:06:13 +0000
commit3058b836d920eef4cc072284f8c57800b784f405 (patch)
tree434e2dc586d70e1e8c10c126a8b53a592bad973a /packet-fcels.c
parentb8c8fb9e8dcb8787aee15e0655dce6175bdb0ab3 (diff)
From Dinesh Dutt:
- Dissector for FICON - Dissector for FC-SP (Security Protocol for Fibre Channel) - Patches to correct the reassembly of FC fragments. - Support for new MDS Port Analyzer Adapters that carry the frame length for truncated frames. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8823 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-fcels.c')
-rw-r--r--packet-fcels.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/packet-fcels.c b/packet-fcels.c
index 32397ab079..7ae038d931 100644
--- a/packet-fcels.c
+++ b/packet-fcels.c
@@ -2,7 +2,7 @@
* Routines for FC Extended Link Services
* Copyright 2001, Dinesh G Dutt <ddutt@cisco.com>
*
- * $Id: packet-fcels.c,v 1.4 2003/01/31 03:17:46 guy Exp $
+ * $Id: packet-fcels.c,v 1.5 2003/10/30 02:06:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -185,7 +185,7 @@ GMemChunk *fcels_req_keys = NULL;
GMemChunk *fcels_req_vals = NULL;
guint32 fcels_init_count = 25;
-static dissector_handle_t data_handle;
+static dissector_handle_t data_handle, fcsp_handle;
/*
* Hash Functions
@@ -1719,6 +1719,10 @@ dissect_fcels (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case FC_ELS_RPSC:
dissect_fcels_rpsc (tvb, pinfo, tree, isreq, ti);
break;
+ case FC_ELS_AUTH:
+ if (isreq && fcsp_handle)
+ call_dissector (fcsp_handle, tvb, pinfo, tree);
+ break;
default:
/* proto_tree_add_text ( */
call_dissector (data_handle, tvb, pinfo, tree);
@@ -1982,4 +1986,5 @@ proto_reg_handoff_fcels (void)
dissector_add("fc.ftype", FC_FTYPE_ELS, els_handle);
data_handle = find_dissector ("data");
+ fcsp_handle = find_dissector ("fcsp");
}