forked from osmocom/wireshark
EOBI: Disable dissector by default
The EOBI dissector has no heuristic and is using several nonstandardized high ports. Therefore disabling it by default. Fixes #18103
This commit is contained in:
parent
9fa0d711f6
commit
083c6828f5
|
@ -4312,6 +4312,7 @@ proto_register_eobi(void)
|
|||
proto_register_field_array(proto_eobi, hf, array_length(hf));
|
||||
static gint * const ett[] = { &ett_eobi[0], &ett_eobi[1], &ett_eobi[2], &ett_eobi[3], &ett_eobi[4], &ett_eobi[5], &ett_eobi[6], &ett_eobi_dscp };
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
proto_disable_by_default(proto_eobi);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -953,6 +953,8 @@ proto_register_{proto}(void)
|
|||
file=o)
|
||||
gen_subtree_array(st, proto, o)
|
||||
print(' proto_register_subtree_array(ett, array_length(ett));', file=o)
|
||||
if proto.startswith('eobi'):
|
||||
print(f' proto_disable_by_default(proto_{proto});', file=o)
|
||||
print('}\n', file=o)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue