if ((!mISDNport->ntmode || mISDNport->ptp) && l3m->pid < 127)
{
}
if ((!mISDNport->ntmode || mISDNport->ptp) && l3m->pid < 127)
{
- mISDNport->l2link = 0;
if (!mISDNport->l2establish && mISDNport->l2hold)
{
PDEBUG(DEBUG_ISDN, "set timer and establish.\n");
if (!mISDNport->l2establish && mISDNport->l2hold)
{
PDEBUG(DEBUG_ISDN, "set timer and establish.\n");
@@ -2117,7+2124,7 @@ int do_layer3(struct mlayer3 *ml3, unsigned int cmd, unsigned int pid, struct l3
/*
* global function to add a new card (port)
*/
/*
* global function to add a new card (port)
*/
-struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt, int l2hold, struct interface *interface)
+struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt, int te_special, int l1hold, int l2hold, struct interface *interface)
{
int ret;
struct mISDNport *mISDNport, **mISDNportp;
{
int ret;
struct mISDNport *mISDNport, **mISDNportp;
@@ -2160,7+2167,7 @@ struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt
}
if (port == cnt)
{
}
if (port == cnt)
{
- PERROR_RUNTIME("Port name '%s' no found, use 'isdninfo' tool to list all existing ports.\n", portname);
+ PERROR_RUNTIME("Port name '%s' not found, use 'misdn_info' tool to list all existing ports.\n", portname);
return(NULL);
}
// note: 'port' has still the port number
return(NULL);
}
// note: 'port' has still the port number
@@ -2270,6+2277,7 @@ struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt