--- src/dosext/net/net/ipx.c Fri Jul 19 02:04:37 2002 +++ src/dosext/net/net/ipx.c Thu Aug 1 17:30:44 2002 @@ -443,17 +443,14 @@ } opt = 1; - /* turn on socket debugging */ - if (debug_level('n')) { + /* turn on socket debugging - requires root! */ + if (debug_level('n') && can_do_root_stuff) { enter_priv_on(); - if (setsockopt(sock, SOL_SOCKET, SO_DEBUG, &opt, sizeof(opt)) == -1) { - leave_priv_setting(); + if (setsockopt(sock, SOL_SOCKET, SO_DEBUG, &opt, sizeof(opt)) == -1) n_printf("IPX: could not set socket option for debugging: %s.\n", strerror(errno)); - /* I can't think of anything else to return */ - return (RCODE_SOCKET_TABLE_FULL); - } leave_priv_setting(); } + opt = 1; /* Permit broadcast output */ enter_priv_on();