From 332b9de01f362e07a5e352dd956cfaad01a9cd0f Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 17 May 1998 10:16:14 +0000 Subject: [PATCH] Check the MP server in bundle_IsSet(). --- usr.sbin/ppp/bundle.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 093acc2144d..02cc30e4de5 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * 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 @@ -406,6 +406,9 @@ bundle_IsSet(struct descriptor *d, const fd_set *fdset) if (descriptor_IsSet(desc, fdset)) return 1; + if (descriptor_IsSet(&bundle->ncp.mp.server.desc, fdset)) + return 1; + return FD_ISSET(bundle->dev.fd, fdset); }