[Zeek] pkg add-interfaces

Scot Harris SHARRIS at hollywoodfl.org
Thu Dec 5 14:39:59 PST 2019


Used zkg to add the add-interfaces package to zeek 3.0

Seeing the following warning messages in stderr log:

    [9] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [10] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [11] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [12] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [13] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [14] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [15] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func
    [16] => warning: non-void function returning without a value: AddInterfaces::interface_ext_func

Looking at the code for the function interface_ext_func looks like the condition is most likely failing and there is no return value specified.

function interface_ext_func(path: string): AddedFields
        {
        if ( Cluster::nodes[Cluster::node]?$interface )
                return AddedFields($interface = Cluster::nodes[Cluster::node]$interface);
        }


__________________________________________
Scot Harris
Network Engineer
City of Hollywood
Information Technology

P.O. Box 229045
Hollywood, FL 33022-9045
Office: 954-921-3304
E-mail: SHARRIS at hollywoodfl.org
[www.hollywoodfl.org]
Notice: Florida has a broad public records law. All correspondence sent to the City of Hollywood via e-mail may be subject to disclosure as a matter of public record.
__________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20191205/fda87edb/attachment.html 


More information about the Zeek mailing list