Author: tuexen
Date: Tue Feb  7 17:52:32 2012
New Revision: 231140
URL: http://svn.freebsd.org/changeset/base/231140

Log:
  MFC r227755:
  Add support for the SCTP_REMOTE_UDP_ENCAPS_PORT socket option.
  Retire the the now unused sctp_udp_tunneling_for_client_enable
  sysctl variable.

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

Modified: stable/9/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- stable/9/lib/libc/net/sctp_sys_calls.c      Tue Feb  7 17:47:04 2012        
(r231139)
+++ stable/9/lib/libc/net/sctp_sys_calls.c      Tue Feb  7 17:52:32 2012        
(r231140)
@@ -412,6 +412,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, i
        case SCTP_PEER_ADDR_THLDS:
                ((struct sctp_paddrthlds *)arg)->spt_assoc_id = id;
                break;
+       case SCTP_REMOTE_UDP_ENCAPS_PORT:
+               ((struct sctp_udpencaps *)arg)->sue_assoc_id = id;
+               break;
        case SCTP_MAX_BURST:
                ((struct sctp_assoc_value *)arg)->assoc_id = id;
                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