aboutsummaryrefslogtreecommitdiffstats
path: root/packet-fr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-22 08:22:07 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-22 08:22:07 +0000
commit28c1a65e85c3e2e0d6b6ce64d7eccdc53ccc418e (patch)
tree572e809cf152b0f2b514f348967fa91b6c769611 /packet-fr.c
parent6ba1ee899bc6048e4b4421d1b425a81f71ecc7f0 (diff)
Add in a notion of "circuits", which are for virtual circuit-oriented
protocols (where there's a virtual circuit ID of some sort in packets) what conversations are for protocols ultimately running atop connectionless network layers. Have circuit type and ID values in the "packet_info" structure. Have the Frame Relay dissector set the circuit type and ID values, and have the Wellfleet compression protocol set up circuit information and store compression information with the circuit. svn path=/trunk/; revision=6469
Diffstat (limited to 'packet-fr.c')
-rw-r--r--packet-fr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-fr.c b/packet-fr.c
index 0ba30e4382..e7fd939b1d 100644
--- a/packet-fr.c
+++ b/packet-fr.c
@@ -3,7 +3,7 @@
*
* Copyright 2001, Paul Ionescu <paul@acorp.ro>
*
- * $Id: packet-fr.c,v 1.31 2002/10/19 00:40:03 guy Exp $
+ * $Id: packet-fr.c,v 1.32 2002/10/22 08:22:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -168,6 +168,8 @@ static void dissect_fr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
fr_header = tvb_get_ntohs(tvb, 0);
fr_ctrl = tvb_get_guint8( tvb, 2);
address = EXTRACT_DLCI(fr_header);
+ pinfo->ctype = CT_DLCI;
+ pinfo->circuit_id = address;
if (check_col(pinfo->cinfo, COL_INFO))
col_add_fstr(pinfo->cinfo, COL_INFO, "DLCI %u", address);