mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +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 {
|
namespace ams::socket {
|
||||||
|
|
||||||
constexpr ALWAYS_INLINE size_t AlignMss(size_t size) {
|
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 {
|
class Config {
|
||||||
|
|
Loading…
Reference in a new issue