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/link.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ncpd/link.cc') diff --git a/ncpd/link.cc b/ncpd/link.cc index 025e131..19f7094 100644 --- a/ncpd/link.cc +++ b/ncpd/link.cc @@ -98,7 +98,6 @@ retransTimeout() void Link:: reset() { - p->reset(); txSequence = 1; rxSequence = -1; failed = false; @@ -108,7 +107,7 @@ reset() { purgeAllQueues(); for (int i = 0; i < 256; i++) xoff[i] = false; - + p->reset(); // submit a link request sendReqReq(); } @@ -335,6 +334,7 @@ receive(bufferStore buff) rxSequence = 0; txSequence = 1; purgeAllQueues(); + p->setEpoc(false); if (verbose & LNK_DEBUG_LOG) cout << "Link: 1-linkType set to " << linkType << endl; } @@ -444,6 +444,7 @@ receive(bufferStore buff) rxSequence = 0; txSequence = 1; // Our ReqReq was seq 0 purgeAllQueues(); + p->setEpoc(false); sendAck(rxSequence); } } -- cgit v1.2.3