mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 01:46:47 +00:00
socket: fix config size calculations
This commit is contained in:
parent
64c7c6b2a5
commit
d8faa37de0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue