mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
[webconsole] added a button to prematurely release a leaseset
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
f21e1c75d5
commit
edfcd23b01
2 changed files with 51 additions and 4 deletions
|
@ -96,6 +96,9 @@ namespace data
|
|||
void Encrypt (const uint8_t * data, uint8_t * encrypted) const;
|
||||
bool IsDestination () const { return true; };
|
||||
|
||||
// used in webconsole
|
||||
void ExpireLease () { m_ExpirationTime = i2p::util::GetSecondsSinceEpoch (); };
|
||||
|
||||
protected:
|
||||
|
||||
void UpdateLeasesBegin ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue