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