Skip to content

Commit

Permalink
Remove bsdsockets_version from LibnxSocketInitConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
CRC-Mismatch authored and spacemeowx2 committed Jun 25, 2024
1 parent 148116e commit c5120e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ldn_mitm/source/ldnmitm_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ namespace ams {
}

constexpr const ::SocketInitConfig LibnxSocketInitConfig = {
.bsdsockets_version = 1,

.tcp_tx_buf_size = 0x800,
.tcp_rx_buf_size = 0x1000,
.tcp_tx_buf_max_size = 0x2000,
Expand All @@ -68,7 +66,7 @@ namespace ams {
alignas(os::MemoryPageSize) constinit u8 g_socket_tmem_buffer[GetLibnxBsdTransferMemorySize(std::addressof(LibnxSocketInitConfig))];

constexpr const ::BsdInitConfig LibnxBsdInitConfig = {
.version = LibnxSocketInitConfig.bsdsockets_version,
.version = 1,

.tmem_buffer = g_socket_tmem_buffer,
.tmem_buffer_size = sizeof(g_socket_tmem_buffer),
Expand Down

0 comments on commit c5120e9

Please sign in to comment.