Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem.

This commit is contained in:
Joel Sherrill
1999-01-04 16:30:06 +00:00
parent 60a2d6899d
commit 88a0908402
4 changed files with 8 additions and 4 deletions

View File

@@ -828,11 +828,12 @@ findpcb:
* we don't get fooled into using T/TCP.
*/
if (to.to_flag & TOF_CCECHO) {
if (tp->cc_send != to.to_ccecho)
if (tp->cc_send != to.to_ccecho) {
if (taop->tao_ccsent != 0)
goto drop;
else
goto dropwithreset;
}
} else
tp->t_flags &= ~TF_RCVD_CC;
tcpstat.tcps_connects++;

View File

@@ -828,11 +828,12 @@ findpcb:
* we don't get fooled into using T/TCP.
*/
if (to.to_flag & TOF_CCECHO) {
if (tp->cc_send != to.to_ccecho)
if (tp->cc_send != to.to_ccecho) {
if (taop->tao_ccsent != 0)
goto drop;
else
goto dropwithreset;
}
} else
tp->t_flags &= ~TF_RCVD_CC;
tcpstat.tcps_connects++;

View File

@@ -828,11 +828,12 @@ findpcb:
* we don't get fooled into using T/TCP.
*/
if (to.to_flag & TOF_CCECHO) {
if (tp->cc_send != to.to_ccecho)
if (tp->cc_send != to.to_ccecho) {
if (taop->tao_ccsent != 0)
goto drop;
else
goto dropwithreset;
}
} else
tp->t_flags &= ~TF_RCVD_CC;
tcpstat.tcps_connects++;