summaryrefslogtreecommitdiffstats
path: root/dss1.cpp
diff options
context:
space:
mode:
authorSuper User2008-05-10 21:40:23 +0200
committerSuper User2008-05-10 21:40:23 +0200
commit4a0bc5037ad69f963cc3da98c0e4cc9d04ae8f1b (patch)
treea5b4162bce87a84ff3ab1901996f620d4ceedd70 /dss1.cpp
parentfixed so, PRI/BRI NT/TE works (diff)
downloadlcr-4a0bc5037ad69f963cc3da98c0e4cc9d04ae8f1b.tar.gz
lcr-4a0bc5037ad69f963cc3da98c0e4cc9d04ae8f1b.tar.xz
lcr-4a0bc5037ad69f963cc3da98c0e4cc9d04ae8f1b.zip
fixed some bugs
modified: dss1.cpp modified: mISDN.cpp
Diffstat (limited to 'dss1.cpp')
-rw-r--r--dss1.cpp2
1 files changed, 1 insertions, 1 deletions
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 */