From a29271ea083bbdc7a2f87dce585241dea69bc1d1 Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Sat, 28 Dec 2019 21:03:06 +0800 Subject: [PATCH] fix SocketInitConfig --- ldn_mitm/source/ldnmitm_main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ldn_mitm/source/ldnmitm_main.cpp b/ldn_mitm/source/ldnmitm_main.cpp index 83fc578..4229f86 100644 --- a/ldn_mitm/source/ldnmitm_main.cpp +++ b/ldn_mitm/source/ldnmitm_main.cpp @@ -79,10 +79,8 @@ void __appInit(void) { .sb_efficiency = 4, - .serialized_out_addrinfos_max_size = 0x1000, - .serialized_out_hostent_max_size = 0x200, - .bypass_nsd = false, - .dns_timeout = 0, + .num_bsd_sessions = 3, + .bsd_service_type = BsdServiceType_User, }; sm::DoWithSession([&]() { R_ASSERT(fsInitialize());