Check the MP server in bundle_IsSet().
This commit is contained in:
parent
61bd517d00
commit
332b9de01f
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: bundle.c,v 1.1.2.84 1998/05/15 23:58:14 brian Exp $
|
* $Id: bundle.c,v 1.1.2.85 1998/05/16 23:47:20 brian Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -406,6 +406,9 @@ bundle_IsSet(struct descriptor *d, const fd_set *fdset)
|
|||||||
if (descriptor_IsSet(desc, fdset))
|
if (descriptor_IsSet(desc, fdset))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
if (descriptor_IsSet(&bundle->ncp.mp.server.desc, fdset))
|
||||||
|
return 1;
|
||||||
|
|
||||||
return FD_ISSET(bundle->dev.fd, fdset);
|
return FD_ISSET(bundle->dev.fd, fdset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user