summaryrefslogtreecommitdiffstats
path: root/apppbx.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2008-09-14 14:37:51 +0200
committerAndreas Eversberg2008-09-14 14:37:51 +0200
commit6d3d13def341dcddb6fe4336d18ce2ac9b996029 (patch)
treef4c5b986989cda5316999c723e2dd5b6e23e1277 /apppbx.cpp
parentFixed trace bugs. (diff)
downloadlcr-6d3d13def341dcddb6fe4336d18ce2ac9b996029.tar.gz
lcr-6d3d13def341dcddb6fe4336d18ce2ac9b996029.tar.xz
lcr-6d3d13def341dcddb6fe4336d18ce2ac9b996029.zip
fixed some layer 2 link issues
modified: README modified: apppbx.cpp modified: lcradmin.c modified: mISDN.cpp modified: route.c
Diffstat (limited to 'apppbx.cpp')
-rw-r--r--apppbx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apppbx.cpp b/apppbx.cpp
index c19865b..3132417 100644
--- a/apppbx.cpp
+++ b/apppbx.cpp
@@ -672,7 +672,7 @@ foundif:
}
/* see if link is up on PTP*/
- if (mISDNport->l2hold && !mISDNport->l2link)
+ if (mISDNport->l2hold && mISDNport->l2link<1)
{
trace_header("CHANNEL SELECTION (port's layer 2 is down, skipping)", DIRECTION_NONE);
add_trace("port", NULL, "%d", ifport->portnum);