mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-17 23:12:17 +00:00
socket: fix config size calculations
This commit is contained in:
parent
64c7c6b2a5
commit
d8faa37de0
@ -21,7 +21,7 @@
|
||||
namespace ams::socket {
|
||||
|
||||
constexpr ALWAYS_INLINE size_t AlignMss(size_t size) {
|
||||
return util::DivideUp(size, static_cast<size_t>(1500));
|
||||
return util::DivideUp(size, static_cast<size_t>(1500)) * static_cast<size_t>(1500);
|
||||
}
|
||||
|
||||
class Config {
|
||||
|
Loading…
Reference in New Issue
Block a user