summaryrefslogtreecommitdiffstats
path: root/mISDN.cpp
diff options
context:
space:
mode:
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));