Fixed wrong reference while opening mISDN socket
diff --git a/src/input/misdn.c b/src/input/misdn.c
index 2ed152e..5fdd847 100644
--- a/src/input/misdn.c
+++ b/src/input/misdn.c
@@ -484,7 +484,7 @@
 			}
 			memset(&addr, 0, sizeof(addr));
 			addr.family = AF_ISDN;
-			addr.dev = line->num;
+			addr.dev = line->port_nr;
 			addr.channel = 0;
 			addr.sapi = 0;
 			addr.tei = GROUP_TEI;