Code cleanup

Reworked MAC handling in flows
This commit is contained in:
Luca Deri 2025-09-26 21:15:01 +02:00
parent 6d91ba2dd0
commit 215aa1436b
9 changed files with 62 additions and 57 deletions

View file

@ -52,7 +52,7 @@ CREATE TABLE IF NOT EXISTS `flows` ON CLUSTER '$CLUSTER' (
`SRC_NETWORK_ID` UInt32,
`DST_NETWORK_ID` UInt32,
`CLIENT_FINGERPRINT` String,
`NDPI_TCP_FINGERPRINT` String,
`TCP_FINGERPRINT` String,
`INPUT_SNMP` UInt32,
`OUTPUT_SNMP` UInt32,
`SRC_HOST_POOL_ID` UInt16,
@ -112,7 +112,7 @@ ALTER TABLE `flows` ON CLUSTER '$CLUSTER' ADD COLUMN IF NOT EXISTS `DST_NETWORK_
@
ALTER TABLE `flows` ON CLUSTER '$CLUSTER' ADD COLUMN IF NOT EXISTS `CLIENT_FINGERPRINT` String;
@
ALTER TABLE `flows` ON CLUSTER '$CLUSTER' ADD COLUMN IF NOT EXISTS `NDPI_TCP_FINGERPRINT` String;
ALTER TABLE `flows` ON CLUSTER '$CLUSTER' ADD COLUMN IF NOT EXISTS `TCP_FINGERPRINT` String;
@
ALTER TABLE `flows` ON CLUSTER '$CLUSTER' ADD COLUMN IF NOT EXISTS `INPUT_SNMP` UInt32;
@