X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=endpoint.cpp;h=e9c680f3315d303d31d7bceafb6335f6a57db5df;hp=1dce9f167d04586091ae6a1cfb823e2c8eb760e2;hb=20a671d76854520ad9d5ea9d481e008240465e62;hpb=64143650bc9c04fadc99694c499cf34750bc2804 diff --git a/endpoint.cpp b/endpoint.cpp index 1dce9f1..e9c680f 100644 --- a/endpoint.cpp +++ b/endpoint.cpp @@ -67,7 +67,7 @@ Endpoint::Endpoint(unsigned int port_id, unsigned int join_id) port = find_port_id(port_id); if (port) { - if ((port->p_type&PORT_CLASS_mISDN_MASK) == PORT_CLASS_mISDN_DSS1) + if ((port->p_type&PORT_CLASS_MASK) == PORT_CLASS_mISDN) earlyb = ((class PmISDN *)port)->p_m_mISDNport->earlyb; if (!portlist_new(port_id, port->p_type, earlyb)) FATAL("No memory for portlist.\n");