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:
Uli Heilmeier 2022-05-25 22:19:15 +02:00 committed by A Wireshark GitLab Utility
parent 9fa0d711f6
commit 083c6828f5
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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)