Commit 111a5e4d by Julien Muchembled

fixup! Fix read of own IP from cache

parent f3eb2d4e
......@@ -25,7 +25,7 @@ class Cache(object):
try INTEGER NOT NULL DEFAULT 0)""")
q("CREATE INDEX volatile.stat_try ON stat(try)")
q("INSERT INTO volatile.stat (peer)"
" SELECT prefix FROM peer WHERE prefix")
" SELECT prefix FROM peer WHERE prefix != ''")
self._db.commit()
self._loadConfig(self._selectConfig(q))
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment