Author: tuexen
Date: Fri Jul 12 13:51:19 2013
New Revision: 253264
URL: http://svnweb.freebsd.org/changeset/base/253264

Log:
  MFC r253104:
  Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
  sctp_opt_info().

Modified:
  stable/8/lib/libc/net/sctp_sys_calls.c
Directory Properties:
  stable/8/lib/   (props changed)
  stable/8/lib/libc/   (props changed)

Modified: stable/8/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- stable/8/lib/libc/net/sctp_sys_calls.c      Fri Jul 12 12:40:21 2013        
(r253263)
+++ stable/8/lib/libc/net/sctp_sys_calls.c      Fri Jul 12 13:51:19 2013        
(r253264)
@@ -335,6 +335,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, i
        case SCTP_REMOTE_UDP_ENCAPS_PORT:
                ((struct sctp_udpencaps *)arg)->sue_assoc_id = id;
                break;
+       case SCTP_ENABLE_STREAM_RESET:
+               ((struct sctp_assoc_value *)arg)->assoc_id = id;
+               break;
        default:
                break;
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to