Test-suite passes.

All tests pass with one exception: some Broxygen tests are broken
because dpd_config doesn't exist anymore. Need to update the mechanism
for auto-documenting well-known ports.
This commit is contained in:
Robin Sommer 2013-03-26 13:57:17 -07:00
parent eef4858692
commit 2be985433c
28 changed files with 84 additions and 62 deletions

View file

@ -54,11 +54,13 @@ global example_ports = {
443/tcp, 562/tcp,
} &redef;
# redefinitions of "dpd_config" are self-documenting and
# go into the generated doc's "Port Analysis" section
redef dpd_config += {
[ANALYZER_SSL] = [$ports = example_ports]
};
event bro_init()
{
# Registering a well-known port is self-documenting and
# go into the generated doc's "Port Analysis" section
Analyzer::register_for_ports(Analyzer::ANALYZER_SSL, example_ports);
}
# redefinitions of "Notice::Type" are self-documenting, but
# more information can be supplied in two different ways