summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-10-17 12:28:09 +0000
committerbrian <brian@FreeBSD.org>1998-10-17 12:28:09 +0000
commitf11bbe2057de89e8e8658378d3b125ba3325192a (patch)
treea34e10fa9d9d59b306e6ece4418b6c99bef6d069 /usr.sbin
parenta9bd7962502657372612ea13f89f9882d53d78ad (diff)
downloadFreeBSD-src-f11bbe2057de89e8e8658378d3b125ba3325192a.zip
FreeBSD-src-f11bbe2057de89e8e8658378d3b125ba3325192a.tar.gz
Adjust our CBCP RESP id so that it's the same as the REQ.
Submitted by: Tom <root@majestix.cmr.no>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/cbcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/cbcp.c b/usr.sbin/ppp/cbcp.c
index a8689f8..5e0aef2 100644
--- a/usr.sbin/ppp/cbcp.c
+++ b/usr.sbin/ppp/cbcp.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cbcp.c,v 1.2 1998/08/26 17:39:38 brian Exp $
+ * $Id: cbcp.c,v 1.3 1998/10/17 12:28:08 brian Exp $
*/
#include <sys/types.h>
@@ -617,6 +617,7 @@ cbcp_Input(struct physical *p, struct mbuf *bp)
timer_Stop(&cbcp->fsm.timer);
if (cbcp_AdjustResponse(cbcp, data)) {
cbcp->fsm.restart = DEF_REQs;
+ cbcp->fsm.id = head->id;
cbcp_SendResponse(cbcp);
} else
datalink_CBCPFailed(cbcp->p->dl);
OpenPOWER on IntegriCloud