aboutsummaryrefslogtreecommitdiffstats
path: root/packet-frame.c
diff options
context:
space:
mode:
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-03 18:40:08 +0000
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-03 18:40:08 +0000
commitc0abb596d77b1d8c487065dac1f8b895bf2db171 (patch)
treebaf17f3e7d92f2855ed3571140193a98c0baa779 /packet-frame.c
parent4f52121449d8819d108c0568dc51edca1cc8896c (diff)
Apply the patches from Tadaaki Nagao for a global version of disabled
protocols ... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9538 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-frame.c')
-rw-r--r--packet-frame.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-frame.c b/packet-frame.c
index dc904f8438..65fbf10568 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.42 2003/12/06 06:09:10 gram Exp $
+ * $Id: packet-frame.c,v 1.43 2004/01/03 18:40:07 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -308,7 +308,7 @@ proto_register_frame(void)
/* You can't disable dissection of "Frame", as that would be
tantamount to not doing any dissection whatsoever. */
- proto_set_cant_disable(proto_frame);
+ proto_set_cant_toggle(proto_frame);
proto_short = proto_register_protocol("Short Frame", "Short frame", "short");
proto_malformed = proto_register_protocol("Malformed Packet",
@@ -320,9 +320,9 @@ proto_register_frame(void)
/* "Short Frame", "Malformed Packet", and "Unreassembled Fragmented
Packet" aren't really protocols, they're error indications;
disabling them makes no sense. */
- proto_set_cant_disable(proto_short);
- proto_set_cant_disable(proto_malformed);
- proto_set_cant_disable(proto_unreassembled);
+ proto_set_cant_toggle(proto_short);
+ proto_set_cant_toggle(proto_malformed);
+ proto_set_cant_toggle(proto_unreassembled);
/* Our preferences */
frame_module = prefs_register_protocol(proto_frame, NULL);