diff options
Diffstat (limited to 'epan/dissectors/packet-ethertype.c')
-rw-r--r-- | epan/dissectors/packet-ethertype.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c index 2d899884c5..b714f92900 100644 --- a/epan/dissectors/packet-ethertype.c +++ b/epan/dissectors/packet-ethertype.c @@ -392,6 +392,8 @@ proto_register_ethertype(void) proto_ethertype = proto_register_protocol("Ethertype", "Ethertype", "ethertype"); + /* This isn't a real protocol, so you can't disable its dissection. */ + proto_set_cant_toggle(proto_ethertype); new_register_dissector("ethertype", dissect_ethertype, proto_ethertype); |