Author: tuexen
Date: Tue Jul  9 19:04:19 2013
New Revision: 253104
URL: http://svnweb.freebsd.org/changeset/base/253104

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

Modified:
  head/lib/libc/net/sctp_sys_calls.c

Modified: head/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- head/lib/libc/net/sctp_sys_calls.c  Tue Jul  9 19:01:38 2013        
(r253103)
+++ head/lib/libc/net/sctp_sys_calls.c  Tue Jul  9 19:04:19 2013        
(r253104)
@@ -338,6 +338,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, i
        case SCTP_MAX_BURST:
                ((struct sctp_assoc_value *)arg)->assoc_id = id;
                break;
+       case SCTP_ENABLE_STREAM_RESET:
+               ((struct sctp_assoc_value *)arg)->assoc_id = id;
+               break;
        default:
                break;
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to