From 4a0bc5037ad69f963cc3da98c0e4cc9d04ae8f1b Mon Sep 17 00:00:00 2001 From: Super User Date: Sat, 10 May 2008 21:40:23 +0200 Subject: fixed some bugs modified: dss1.cpp modified: mISDN.cpp --- dss1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dss1.cpp') diff --git a/dss1.cpp b/dss1.cpp index 06b1098..90cd3c5 100644 --- a/dss1.cpp +++ b/dss1.cpp @@ -4054,7 +4054,7 @@ int stack2manager(struct mISDNport *mISDNport, unsigned int cmd, unsigned int pi while(port) { /* are we ISDN ? */ - if (port->p_type == PORT_TYPE_DSS1_NT_IN || port->p_type == PORT_TYPE_DSS1_NT_OUT) + if ((port->p_type & PORT_CLASS_mISDN_MASK) == PORT_CLASS_mISDN_DSS1) { pdss1 = (class Pdss1 *)port; /* check out correct stack and id */ -- cgit v1.2.3-55-g7522