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. * we don't get fooled into using T/TCP.
*/ */
if (to.to_flag & TOF_CCECHO) { 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) if (taop->tao_ccsent != 0)
goto drop; goto drop;
else else
goto dropwithreset; goto dropwithreset;
}
} else } else
tp->t_flags &= ~TF_RCVD_CC; tp->t_flags &= ~TF_RCVD_CC;
tcpstat.tcps_connects++; tcpstat.tcps_connects++;

View File

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

View File

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

View File

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