Closed gabrielmocan closed 1 year ago
I would propose record.IsIPv4()
and record.IsIPv6()
. We could introduce record.Type()
as well, but would reserve it for the type of record, such as Event
, Netflow
, Sflow
This is getting awesome! Insane gains compared to calling CLI in code. Thanks @phaag
Happy, it works!!
I was thinking of something like record.Type() to tell if current record being processed is v4 or v6. I want to store v4/v6 records in different structs.