mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Improve comments.
MFC after: 1 week.
This commit is contained in:
parent
0223e98a7e
commit
91f17c6faa
1 changed files with 5 additions and 5 deletions
|
|
@ -2342,13 +2342,13 @@ flags_out:
|
|||
|
||||
if ((stcb) && (net)) {
|
||||
if (net->dest_state & SCTP_ADDR_UNCONFIRMED) {
|
||||
/* Its unconfirmed */
|
||||
/* It's unconfirmed */
|
||||
paddri->spinfo_state = SCTP_UNCONFIRMED;
|
||||
} else if (net->dest_state & SCTP_ADDR_REACHABLE) {
|
||||
/* The Active */
|
||||
/* It's active */
|
||||
paddri->spinfo_state = SCTP_ACTIVE;
|
||||
} else {
|
||||
/* It's Inactive */
|
||||
/* It's inactive */
|
||||
paddri->spinfo_state = SCTP_INACTIVE;
|
||||
}
|
||||
paddri->spinfo_cwnd = net->cwnd;
|
||||
|
|
@ -2422,10 +2422,10 @@ flags_out:
|
|||
/* It's unconfirmed */
|
||||
sstat->sstat_primary.spinfo_state = SCTP_UNCONFIRMED;
|
||||
} else if (net->dest_state & SCTP_ADDR_REACHABLE) {
|
||||
/* Its active */
|
||||
/* It's active */
|
||||
sstat->sstat_primary.spinfo_state = SCTP_ACTIVE;
|
||||
} else {
|
||||
/* It's Inactive */
|
||||
/* It's inactive */
|
||||
sstat->sstat_primary.spinfo_state = SCTP_INACTIVE;
|
||||
}
|
||||
sstat->sstat_primary.spinfo_cwnd = net->cwnd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue