Improve comments.

MFC after: 1 week.
This commit is contained in:
Michael Tuexen 2011-01-20 13:53:34 +00:00
parent 0223e98a7e
commit 91f17c6faa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217638

View File

@ -2342,13 +2342,13 @@ sctp_getopt(struct socket *so, int optname, void *optval, size_t *optsize,
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 @@ sctp_getopt(struct socket *so, int optname, void *optval, size_t *optsize,
/* 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;