Skip to content

Commit

Permalink
mss: disble "adjust mss" log message
Browse files Browse the repository at this point in the history
Also bump to 0.7.6

Signed-off-by: Lev Stipakov <[email protected]>
  • Loading branch information
lstipakov committed Jun 17, 2022
1 parent 0037f6c commit 9984b83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PropertySheet.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup Label="UserMacros">
<OVPN_DCO_VERSION_MAJOR>0</OVPN_DCO_VERSION_MAJOR>
<OVPN_DCO_VERSION_MINOR>7</OVPN_DCO_VERSION_MINOR>
<OVPN_DCO_VERSION_PATCH>5</OVPN_DCO_VERSION_PATCH>
<OVPN_DCO_VERSION_PATCH>6</OVPN_DCO_VERSION_PATCH>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
Expand Down
2 changes: 1 addition & 1 deletion mss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ OvpnMssDoWork(_In_ UCHAR* buf, SIZE_T len, UINT16 maxmss)
TCP_OPT_MSS* opt_mss = (TCP_OPT_MSS*)opt;
UINT16 mssval = RtlUshortByteSwap(opt_mss->Mss);
if (mssval > maxmss) {
LOG_INFO("Adjust MSS", TraceLoggingValue(mssval, "old"), TraceLoggingValue(maxmss, "new"));
// LOG_INFO("Adjust MSS", TraceLoggingValue(mssval, "old"), TraceLoggingValue(maxmss, "new"));
int accumulate = opt_mss->Mss;
opt_mss->Mss = RtlUshortByteSwap(maxmss);
accumulate -= RtlUshortByteSwap(maxmss);
Expand Down

0 comments on commit 9984b83

Please sign in to comment.