if (port)
{
if ((port->p_type&PORT_CLASS_mISDN_MASK) == PORT_CLASS_mISDN_DSS1)
- earlyb = port->mISDNport->is_earlyb;
+ earlyb = ((class PmISDN *)port)->p_m_mISDNport->is_earlyb;
if (!portlist_new(port_id, port->p_type, earlyb))
{
PERROR("no mem for portlist, exitting...\n");
/* link to call or port */
portlist->port_id = port_id;
portlist->port_type = port_type;
- portlist->earlyb = earlyb;
+ portlist->early_b = earlyb;
return(portlist);
}