diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2015-08-29 09:14:32 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2015-08-29 09:14:32 +0000 |
commit | e92c2a8d6a59fe2586b1efaf84637be10290db15 (patch) | |
tree | 3fe23fa4972d1200344a97e8fe0f7a77cbb007cb /sys/netinet/sctp_sysctl.c | |
parent | c1eb13c74cf633df2cf08206bb24ec631d93dff3 (diff) | |
download | src-test2-e92c2a8d6a59fe2586b1efaf84637be10290db15.tar.gz src-test2-e92c2a8d6a59fe2586b1efaf84637be10290db15.zip |
Notes
Diffstat (limited to 'sys/netinet/sctp_sysctl.c')
-rw-r--r-- | sys/netinet/sctp_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c index adc096e9fd08..b72e896cd223 100644 --- a/sys/netinet/sctp_sysctl.c +++ b/sys/netinet/sctp_sysctl.c @@ -453,7 +453,7 @@ sctp_sysctl_handle_assoclist(SYSCTL_HANDLER_ARGS) if (stcb->asoc.primary_destination != NULL) xstcb.primary_addr = stcb->asoc.primary_destination->ro._l_addr; xstcb.heartbeat_interval = stcb->asoc.heart_beat_delay; - xstcb.state = SCTP_GET_STATE(&stcb->asoc); /* FIXME */ + xstcb.state = (uint32_t) sctp_map_assoc_state(stcb->asoc.state); /* 7.0 does not support these */ xstcb.assoc_id = sctp_get_associd(stcb); xstcb.peers_rwnd = stcb->asoc.peers_rwnd; |