summaryrefslogtreecommitdiffstats
path: root/mISDN.cpp
diff options
context:
space:
mode:
authorSuper User2007-08-03 20:13:17 +0200
committerSuper User2007-08-03 20:13:17 +0200
commit16535fd531476bb05a24a3b69e65ce9a4fa92240 (patch)
tree585cd660477efd145b4e515cef62bd1519b18826 /mISDN.cpp
parentfixed crash when receiving notify messages (diff)
downloadlcr-16535fd531476bb05a24a3b69e65ce9a4fa92240.tar.gz
lcr-16535fd531476bb05a24a3b69e65ce9a4fa92240.tar.xz
lcr-16535fd531476bb05a24a3b69e65ce9a4fa92240.zip
some minor fixes
Diffstat (limited to 'mISDN.cpp')
-rw-r--r--mISDN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mISDN.cpp b/mISDN.cpp
index f10a1a4..66c17ee 100644
--- a/mISDN.cpp
+++ b/mISDN.cpp
@@ -47,7 +47,7 @@ int mISDN_rand_count = 0;
int mISDN_initialize(void)
{
/* try to open raw socket to check kernel */
- ret = socket(AF_ISDN, SOCK_RAW, ISDN_P_BASE);
+ ret = socket(PF_ISDN, SOCK_RAW, ISDN_P_BASE);
if (ret < 0)
{
fprintf(stderr, "Cannot open mISDN due to %s. (Does your Kernel support socket based mISDN?)\n", strerror(errno));