fix not updating country filter on update

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2025-11-10 22:18:43 +01:00
parent 31a1348d4a
commit 9e8c1fc4d3

View File

@@ -130,6 +130,9 @@ func (s *AllowDeny) Update(
if v, err := incoming.JA4Fingerprints.Get(); err == nil {
current.JA4Fingerprints.Set(v)
}
if v, err := incoming.CountryCodes.Get(); err == nil {
current.CountryCodes.Set(v)
}
// allow can not be changed as it could mess up a campaign that
// uses multiple entries as all entries must be allow or deny.