summaryrefslogtreecommitdiffstats
path: root/dss1.cpp
diff options
context:
space:
mode:
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 */