mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Check the MP server in bundle_IsSet().
This commit is contained in:
parent
61bd517d00
commit
332b9de01f
1 changed files with 4 additions and 1 deletions
|
|
@ -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 <sys/types.h>
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue