IP库加密/其他对IP库的改进

This commit is contained in:
GoEdgeLab
2023-03-30 20:02:46 +08:00
parent ff2c9c2f81
commit 114e315da1
21 changed files with 566 additions and 363 deletions

View File

@@ -213,7 +213,7 @@ func (this *Updater) Loop() error {
func (this *Updater) loadFile(fp *os.File) error {
this.source.LogInfo("load ip library from '" + fp.Name() + "' ...")
fileReader, err := NewFileDataReader(fp)
fileReader, err := NewFileDataReader(fp, "")
if err != nil {
return errors.New("load ip library from reader failed: " + err.Error())
}