mirror of
https://github.com/netfun2000/ip2region.git
synced 2026-02-27 09:44:31 +08:00
Bug fixed: Adjust the super header length to 8192 for all client implementation
This commit is contained in:
@@ -110,7 +110,7 @@ class Ip2Region(object):
|
||||
#pass the super block
|
||||
self.__f.seek(8)
|
||||
#read the header block
|
||||
b = self.__f.read(4086)
|
||||
b = self.__f.read(8192)
|
||||
#parse the header block
|
||||
sip = None
|
||||
ptr = None
|
||||
|
||||
Reference in New Issue
Block a user