X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=endpoint.cpp;h=1e661438d9eef91d8bc6e9a109fd4187c9ff2650;hp=39cba9528017b047122355d7183da1221ad32a9f;hb=e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e;hpb=559ff64e3062b70f27ddceba825f40642a6c5725 diff --git a/endpoint.cpp b/endpoint.cpp index 39cba95..1e66143 100644 --- a/endpoint.cpp +++ b/endpoint.cpp @@ -69,7 +69,7 @@ Endpoint::Endpoint(int port_id, int call_id) 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"); @@ -170,7 +170,7 @@ struct port_list *Endpoint::portlist_new(unsigned long port_id, int port_type, i /* link to call or port */ portlist->port_id = port_id; portlist->port_type = port_type; - portlist->earlyb = earlyb; + portlist->early_b = earlyb; return(portlist); }