summaryrefslogtreecommitdiff
path: root/plugin/maxmind
diff options
context:
space:
mode:
authorLoyalsoldier <[email protected]>2022-08-29 17:20:56 +0800
committerLoyalsoldier <[email protected]>2022-08-29 17:20:56 +0800
commit9bc74ba134a44f9c2ee5dc2babff616489024567 (patch)
tree17fcdb3552d150c1615609756f866005d2412a57 /plugin/maxmind
parent4e81cccf56b804b72a0d3d8829a6aa16201f5d97 (diff)
Fix: invalid mmdb file
Diffstat (limited to 'plugin/maxmind')
-rw-r--r--plugin/maxmind/mmdb.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/maxmind/mmdb.go b/plugin/maxmind/mmdb.go
index aa4d32cc..4e0ec242 100644
--- a/plugin/maxmind/mmdb.go
+++ b/plugin/maxmind/mmdb.go
@@ -99,7 +99,8 @@ func (m *mmdb) Output(container lib.Container) error {
writer, err := mmdbwriter.New(
mmdbwriter.Options{
- DatabaseType: "GeoIP2-Country",
+ DatabaseType: "GeoLite2-Country",
+ Description: map[string]string{"en": "Customized GeoLite2 Country database"},
RecordSize: 24,
IncludeReservedNetworks: true,
},