Skip to content

Commit cb0d4ef

Browse files
LoyalsoldiermochaaP
authored andcommitted
mmdb: fix invalid magic
1 parent f9531e6 commit cb0d4ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/maxmind/mmdb.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ func (m *mmdb) GetDescription() string {
9494
func (m *mmdb) Output(container lib.Container) error {
9595
writer, err := mmdbwriter.New(
9696
mmdbwriter.Options{
97-
DatabaseType: "GeoIP2-Country",
97+
DatabaseType: "GeoLite2-Country",
98+
Description: map[string]string{"en": "Customized GeoLite2 Country database"},
9899
RecordSize: 24,
99100
IncludeReservedNetworks: true,
100101
},

0 commit comments

Comments
 (0)