You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by li...@apache.org on 2025/11/11 19:05:53 UTC

(nuttx-apps) branch master updated (92269be92 -> 9bbc2fe1e)

This is an automated email from the ASF dual-hosted git repository.

linguini pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


    from 92269be92 netutils/netlib: support delete the DNS server address by index or address
     new ba8823534 Revert "ppp: Reformat to match nuttx coding style"
     new 9bbc2fe1e Revert "ppp: Fix wrong lcp_state handling on peer reconnection"

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 netutils/pppd/lcp.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)


(nuttx-apps) 01/02: Revert "ppp: Reformat to match nuttx coding style"

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit ba8823534cb42a5595d492fd13d94e11506824a9
Author: daniel-geotab <da...@geotab.com>
AuthorDate: Thu Oct 30 16:33:45 2025 -0400

    Revert "ppp: Reformat to match nuttx coding style"
    
    This reverts commit 0c734ca62b96391b25a077229d04da66149391b1.
    
    Signed-off-by: daniellizewski <da...@geotab.com>
---
 netutils/pppd/lcp.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/netutils/pppd/lcp.c b/netutils/pppd/lcp.c
index 65d50343b..4637a7a4a 100644
--- a/netutils/pppd/lcp.c
+++ b/netutils/pppd/lcp.c
@@ -135,11 +135,10 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count)
       /* In case of new peer connection */
 
       ipcp_init(ctx);
-
-      /* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be
-       * re-set once a CONF_ACK is received.
-       */
-
+      
+      /* 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));


(nuttx-apps) 02/02: Revert "ppp: Fix wrong lcp_state handling on peer reconnection"

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 9bbc2fe1e4220094206c9f5b19e8090ec80c4871
Author: daniel-geotab <da...@geotab.com>
AuthorDate: Thu Oct 30 16:33:45 2025 -0400

    Revert "ppp: Fix wrong lcp_state handling on peer reconnection"
    
    This reverts commit 800b93de9fd091f8cc03cd442350e027f8eedce3.
    
    Signed-off-by: daniellizewski <da...@geotab.com>
---
 netutils/pppd/lcp.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/netutils/pppd/lcp.c b/netutils/pppd/lcp.c
index 4637a7a4a..069e4327a 100644
--- a/netutils/pppd/lcp.c
+++ b/netutils/pppd/lcp.c
@@ -135,11 +135,7 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count)
       /* In case of new peer connection */
 
       ipcp_init(ctx);
-      
-      /* 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;
+      ctx->lcp_state &= ~LCP_RX_UP;
 
       DEBUG1(("received [LCP Config Request id %u\n", id));
       if (scan_packet