Improved I2P interface display in rnstatus
This commit is contained in:
parent
cc0c01661d
commit
dd55899775
|
@ -100,7 +100,7 @@ def program_setup(configdir, dispall=False, verbosity = 0):
|
|||
if "peers" in ifstat and ifstat["peers"] != None:
|
||||
print(" Peers : {np} reachable".format(np=ifstat["peers"]))
|
||||
|
||||
if "i2p_b32" in ifstat:
|
||||
if "i2p_b32" in ifstat and ifstat["i2p_b32"] != None:
|
||||
print(" I2P B32 : {ep}".format(ep=str(ifstat["i2p_b32"])))
|
||||
|
||||
print(" Traffic : {txb}↑\n {rxb}↓".format(rxb=size_str(ifstat["rxb"]), txb=size_str(ifstat["txb"])))
|
||||
|
|
Loading…
Reference in New Issue