Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion netutils/pppd/lcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count)
/* In case of new peer connection */

ipcp_init(ctx);
ctx->lcp_state &= ~LCP_RX_UP;

/* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be
* re-set once a CONF_ACK is received.
*/

ctx->lcp_state &= ~LCP_TX_UP;

DEBUG1(("received [LCP Config Request id %u\n", id));
if (scan_packet
Expand Down