From 69980a9469f5a2567239ea6389eca6adb77295bc Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sat, 16 Mar 2002 23:47:43 +0000 Subject: - ncpd: Now it's possible to change Series3/5 without restarting ncpd --- ncpd/ncp.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ncpd/ncp.cc') diff --git a/ncpd/ncp.cc b/ncpd/ncp.cc index f20ca75..1780826 100644 --- a/ncpd/ncp.cc +++ b/ncpd/ncp.cc @@ -257,6 +257,16 @@ decodeControlMessage(bufferStore & buff) cout << "ncp: REJECT client connect" << endl; } controlChannel(localChan, NCON_MSG_CONNECT_RESPONSE, b); + + // Create linkchan if it does not yet exist + if (!lChan) { + if (verbose & NCP_DEBUG_LOG) + cout << "ncp: new active linkChan" << endl; + channelPtr[localChan] = + lChan = new linkChan(this, -1); + lChan->setVerbose(verbose); + } + } break; -- cgit v1.2.3