Skip to content

Commit

Permalink
allow I2P leaseset encryption type 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Vort authored and arvidn committed Jan 14, 2024
1 parent 6e7f818 commit 18f821e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/libtorrent/i2p_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,8 @@ struct i2p_stream : proxy_base
m_state = read_session_create_response;
char cmd[400];
int size = std::snprintf(cmd, sizeof(cmd),
"SESSION CREATE STYLE=STREAM ID=%s DESTINATION=TRANSIENT SIGNATURE_TYPE=7 "
"SESSION CREATE STYLE=STREAM ID=%s "
"DESTINATION=TRANSIENT SIGNATURE_TYPE=7 i2cp.leaseSetEncType=4,0 "
"inbound.quantity=%d outbound.quantity=%d inbound.length=%d outbound.length=%d\n",
m_id, m_session_options.m_inbound_quantity, m_session_options.m_outbound_quantity,
m_session_options.m_inbound_length, m_session_options.m_outbound_length);
Expand Down

0 comments on commit 18f821e

Please sign in to comment.