aboutsummaryrefslogtreecommitdiffstats
path: root/packet-frame.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-06 08:13:42 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-06 08:13:42 +0000
commit85ca185e3711dc38b1e12e19067b4ba6ca9df6c9 (patch)
tree643ab43436e43c15d702dd6d9746ed36f614994d /packet-frame.c
parent40a5448c52fef8ac8883bbad0535c08d690e4a40 (diff)
Put in a comment noting that forcibly setting "pinfo->fd->lnk_t" means
you can't turn the "Treat all frames as DOCSIS frames" option off. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5958 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-frame.c')
-rw-r--r--packet-frame.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/packet-frame.c b/packet-frame.c
index 40c2d458aa..cd7f58c44d 100644
--- a/packet-frame.c
+++ b/packet-frame.c
@@ -2,7 +2,7 @@
*
* Top-most dissector. Decides dissector based on Wiretap Encapsulation Type.
*
- * $Id: packet-frame.c,v 1.27 2002/07/12 22:52:33 guy Exp $
+ * $Id: packet-frame.c,v 1.28 2002/08/06 08:13:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -96,6 +96,16 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
if ((force_docsis_encap) && (docsis_handle)) {
+ /*
+ * XXX - setting it here makes it impossible to
+ * turn the "Treat all frames as DOCSIS frames"
+ * option off.
+ *
+ * The TCP Graph code currently uses "fd->lnk_t";
+ * it should eventually just get the information
+ * it needs from a full-blown dissection, so that
+ * can handle any link-layer type.
+ */
pinfo->fd->lnk_t = WTAP_ENCAP_DOCSIS;
}