doc: Fix formatting of code samples
This commit is contained in:
@@ -120,7 +120,8 @@ You could simply add one, changing the code. Here is the original::
|
||||
...
|
||||
|
||||
else if (tcpflags == (TcpHeader::SYN | TcpHeader::ACK))
|
||||
{ // No action for received SYN+ACK, it is probably a duplicated packet
|
||||
{
|
||||
// No action for received SYN+ACK, it is probably a duplicated packet
|
||||
}
|
||||
...
|
||||
|
||||
@@ -135,7 +136,8 @@ To log the SYN+ACK case, you can add a new ``NS_LOG_LOGIC`` in the
|
||||
NS_LOG_FUNCTION(this << tcpHeader);
|
||||
...
|
||||
else if (tcpflags == (TcpHeader::SYN | TcpHeader::ACK))
|
||||
{ // No action for received SYN+ACK, it is probably a duplicated packet
|
||||
{
|
||||
// No action for received SYN+ACK, it is probably a duplicated packet
|
||||
NS_LOG_LOGIC("TcpSocketBase " << this << " ignoring SYN+ACK");
|
||||
}
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user