summaryrefslogtreecommitdiffstats
path: root/mISDN.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2008-09-12 07:43:21 +0200
committerAndreas Eversberg2008-09-12 07:43:21 +0200
commit2ce5c9f92fb56c3371b7f35b606d62e1bdd68470 (patch)
tree743dd5e5ad7567b5cd792264e02928ae19d8c865 /mISDN.cpp
parentPorts can now be specified by number or by name. (diff)
downloadlcr-2ce5c9f92fb56c3371b7f35b606d62e1bdd68470.tar.gz
lcr-2ce5c9f92fb56c3371b7f35b606d62e1bdd68470.tar.xz
lcr-2ce5c9f92fb56c3371b7f35b606d62e1bdd68470.zip
Corrected error print, if mISDN_dsp.ko module cannot be loaded.
modified: README modified: bchannel.c modified: mISDN.cpp modified: main.c
Diffstat (limited to 'mISDN.cpp')
-rw-r--r--mISDN.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mISDN.cpp b/mISDN.cpp
index 98e2c6c..97f7b3e 100644
--- a/mISDN.cpp
+++ b/mISDN.cpp
@@ -385,7 +385,7 @@ static int _bchannel_create(struct mISDNport *mISDNport, int i)
mISDNport->b_socket[i] = socket(PF_ISDN, SOCK_DGRAM, (mISDNport->b_mode[i]==B_MODE_HDLC)?ISDN_P_B_L2DSPHDLC:ISDN_P_B_L2DSP);
if (mISDNport->b_socket[i] < 0)
{
- PERROR("Error: Failed to open bchannel-socket for index %d with mISDN-DSP layer. Did you load mISDNdsp.ko?\n", i);
+ PERROR("Error: Failed to open bchannel-socket for index %d with mISDN-DSP layer. Did you load mISDN_dsp.ko?\n", i);
return(0);
}
@@ -406,7 +406,7 @@ static int _bchannel_create(struct mISDNport *mISDNport, int i)
ret = bind(mISDNport->b_socket[i], (struct sockaddr *)&addr, sizeof(addr));
if (ret < 0)
{
- PERROR("Error: Failed to bind bchannel-socket for index %d with mISDN-DSP layer. Did you load mISDNdsp.ko?\n", i);
+ PERROR("Error: Failed to bind bchannel-socket for index %d with mISDN-DSP layer. Did you load mISDN_dsp.ko?\n", i);
close(mISDNport->b_socket[i]);
mISDNport->b_socket[i] = -1;
return(0);
@@ -2160,7 +2160,7 @@ struct mISDNport *mISDNport_open(int port, char *portname, int ptp, int force_nt
}
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' no found, use 'misdn_info' tool to list all existing ports.\n", portname);
return(NULL);
}
// note: 'port' has still the port number