direction field of SSH::Info no longer populated

Description

Here's the bug report:

Reporter::ERROR field value missing
SSH::c$ssh$direction /usr/local/bro/share/bro/policy/protocols/ssh/geo-da
ta.bro, line 29

Reporter::WARNING non-void function returns without a value:
SSH::get_location (empty)

Tracing this back, it looks like the SSH::c$ssh$direction is not being
populated. I checked the /base/protocols/ssh/main.bro file and it looks
like the function is missing.

Looking at https://www.bro.org/sphinx/_downloads/main32.bro and
https://github.com/bro/bro/blob/master/scripts/base/protocols/ssh/main.bro
it looks like the function that determined the direction was removed at
one point, which looks like it causes the
/usr/local/bro/share/bro/policy/protocols/ssh/geo-data.bro script to fail

Environment

None

Assignee

Robin Sommer

Reporter

Jon Siwek

Labels

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal
Configure