diff options
author | Fritz Elfert <felfert@to.com> | 2002-03-16 23:47:43 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-03-16 23:47:43 +0000 |
commit | 69980a9469f5a2567239ea6389eca6adb77295bc (patch) | |
tree | 5874735ed534f5358e1c09ab5f5bbd21554edea5 /ncpd/ncp.cc | |
parent | 193af441a127a0daabbd17c512e34817ddbcadfd (diff) | |
download | plptools-69980a9469f5a2567239ea6389eca6adb77295bc.tar.gz plptools-69980a9469f5a2567239ea6389eca6adb77295bc.tar.bz2 plptools-69980a9469f5a2567239ea6389eca6adb77295bc.zip |
- ncpd: Now it's possible to change Series3/5 without restarting ncpd
Diffstat (limited to 'ncpd/ncp.cc')
-rw-r--r-- | ncpd/ncp.cc | 10 |
1 files changed, 10 insertions, 0 deletions
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; |