mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove deprecated Cluster::Node::interface field
This commit is contained in:
parent
9142a48725
commit
4e9d843cec
5 changed files with 7 additions and 13 deletions
|
@ -176,8 +176,6 @@ export {
|
|||
## The port that this node will listen on for peer connections.
|
||||
## A value of ``0/unknown`` means the node is not pre-configured to listen.
|
||||
p: port &default=0/unknown;
|
||||
## Identifier for the interface a worker is sniffing.
|
||||
interface: string &optional &deprecated="Remove in v7.1: interface is not required and not set consistently on workers. Replace usages with packet_source() or keep a separate worker-to-interface mapping in a global table.";
|
||||
## Name of the manager node this node uses. For workers and proxies.
|
||||
manager: string &optional;
|
||||
## A unique identifier assigned to the node by the broker framework.
|
||||
|
|
|
@ -43,10 +43,6 @@ function __init_cluster_nodes(): bool
|
|||
typ = rolemap[endp$role];
|
||||
|
||||
cnode = [$node_type=typ, $ip=endp$host, $p=endp$p];
|
||||
@pragma push ignore-deprecations
|
||||
if ( endp?$interface )
|
||||
cnode$interface = endp$interface;
|
||||
@pragma pop ignore-deprecations
|
||||
if ( |manager_name| > 0 && cnode$node_type != Cluster::MANAGER )
|
||||
cnode$manager = manager_name;
|
||||
if ( endp?$metrics_port )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue