Skip to content
Permalink
Browse files

multicast bugfix from arc@sgi.com

  • Loading branch information...
sklower
sklower committed Jul 18, 1992
1 parent f794167 commit c8949811ae6f1203870f34561977e7c698602795
Showing with 3 additions and 1 deletion.
  1. +3 −1 sys/kern/uipc_socket.c
@@ -4,7 +4,7 @@
*
* %sccs.include.redist.c%
*
* @(#)uipc_socket.c 7.35 (Berkeley) 07/12/92
* @(#)uipc_socket.c 7.36 (Berkeley) 07/18/92
*/

#include "param.h"
@@ -790,6 +790,7 @@ sosetopt(so, level, optname, m0)
case SO_USELOOPBACK:
case SO_BROADCAST:
case SO_REUSEADDR:
case SO_REUSEPORT:
case SO_OOBINLINE:
if (m == NULL || m->m_len < sizeof (int)) {
error = EINVAL;
@@ -905,6 +906,7 @@ sogetopt(so, level, optname, mp)
case SO_DEBUG:
case SO_KEEPALIVE:
case SO_REUSEADDR:
case SO_REUSEPORT:
case SO_BROADCAST:
case SO_OOBINLINE:
*mtod(m, int *) = so->so_options & optname;

0 comments on commit c894981

Please sign in to comment.
You can’t perform that action at this time.