Apply suggestions from code review

Co-authored-by: Jon Siwek <jsiwek@corelight.com>
This commit is contained in:
Seth Hall 2020-10-13 16:48:15 -04:00 committed by GitHub
parent e78386d6e5
commit cd330c801d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -89,7 +89,7 @@ event zeek_init() &priority=-10
Broker::subscribe(nodeid_topic(Broker::node_id()));
Broker::subscribe(node_topic(node));
if ( self?$p )
if ( self$p != 0/unknown )
{
Broker::listen(Broker::default_listen_address,
self$p,