mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
dhcp: Move to cluster publish
This commit is contained in:
parent
a9243bafcc
commit
b372b47f83
1 changed files with 2 additions and 2 deletions
|
@ -301,7 +301,7 @@ event DHCP::aggregate_msgs(ts: time, id: conn_id, uid: string, is_orig: bool, ms
|
|||
event dhcp_message(c: connection, is_orig: bool, msg: DHCP::Msg, options: DHCP::Options) &priority=-5
|
||||
{
|
||||
if ( Cluster::is_enabled() && Cluster::local_node_type() != Cluster::MANAGER )
|
||||
Broker::publish(Cluster::manager_topic, DHCP::aggregate_msgs,
|
||||
Cluster::publish(Cluster::manager_topic, DHCP::aggregate_msgs,
|
||||
network_time(), c$id, c$uid, is_orig, msg, options);
|
||||
else
|
||||
event DHCP::aggregate_msgs(network_time(), c$id, c$uid, is_orig, msg, options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue