aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/ncp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/ncp.cc')
-rw-r--r--ncpd/ncp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ncpd/ncp.cc b/ncpd/ncp.cc
index b72a708..cead4a7 100644
--- a/ncpd/ncp.cc
+++ b/ncpd/ncp.cc
@@ -224,10 +224,10 @@ decodeControlMessage(bufferStore & buff)
lChan->setVerbose(verbose);
} else {
if (verbose & NCP_DEBUG_LOG)
- cout << "ncp: Link DOWN" << endl;
+ cout << "ncp: REJECT connect" << endl;
bufferStore b;
b.addByte(remoteChan);
- controlChannel(localChan, NCON_MSG_CHANNEL_DISCONNECT, b);
+ controlChannel(0, NCON_MSG_CHANNEL_DISCONNECT, b);
}
break;