Skip to content

Commit

Permalink
Fixed I2P interface missing attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Feb 26, 2022
1 parent d4aabc8 commit 95d3346
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RNS/Interfaces/I2PInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def __init__(self, parent_interface, owner, name, target_i2p_dest=None, connecte
self.i2p_tunneled = True
self.i2p_dest = None
self.i2p_tunnel_ready = False
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL

if max_reconnect_tries == None:
self.max_reconnect_tries = I2PInterfacePeer.RECONNECT_MAX_TRIES
Expand Down Expand Up @@ -509,6 +510,7 @@ def __init__(self, owner, name, rns_storagepath, peers, connectable = True):
self.owner = owner
self.connectable = connectable
self.i2p_tunneled = True
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL

self.b32 = None
self.i2p = I2PController(rns_storagepath)
Expand Down

0 comments on commit 95d3346

Please sign in to comment.