Skip to content

Commit c5120e9

Browse files
CRC-Mismatchspacemeowx2
authored andcommitted
Remove bsdsockets_version from LibnxSocketInitConfig
1 parent 148116e commit c5120e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ldn_mitm/source/ldnmitm_main.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ namespace ams {
4949
}
5050

5151
constexpr const ::SocketInitConfig LibnxSocketInitConfig = {
52-
.bsdsockets_version = 1,
53-
5452
.tcp_tx_buf_size = 0x800,
5553
.tcp_rx_buf_size = 0x1000,
5654
.tcp_tx_buf_max_size = 0x2000,
@@ -68,7 +66,7 @@ namespace ams {
6866
alignas(os::MemoryPageSize) constinit u8 g_socket_tmem_buffer[GetLibnxBsdTransferMemorySize(std::addressof(LibnxSocketInitConfig))];
6967

7068
constexpr const ::BsdInitConfig LibnxBsdInitConfig = {
71-
.version = LibnxSocketInitConfig.bsdsockets_version,
69+
.version = 1,
7270

7371
.tmem_buffer = g_socket_tmem_buffer,
7472
.tmem_buffer_size = sizeof(g_socket_tmem_buffer),

0 commit comments

Comments
 (0)