lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #16229] PPP_DEBUG disabled will produce debug on lcp


From: Nikolas
Subject: [lwip-devel] [task #16229] PPP_DEBUG disabled will produce debug on lcp and netif
Date: Wed, 13 Jul 2022 20:15:06 -0400 (EDT)

URL:
  <https://savannah.nongnu.org/task/?16229>

                 Summary: PPP_DEBUG disabled will produce debug on lcp and
netif
                 Project: lwIP - A Lightweight TCP/IP stack
               Submitter: nkarakotas
               Submitted: Thu 14 Jul 2022 12:15:04 AM UTC
                Category: None
         Should Start On: Thu 14 Jul 2022 12:00:00 AM UTC
   Should be Finished on: Thu 14 Jul 2022 12:00:00 AM UTC
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                  Effort: 0.00


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 14 Jul 2022 12:15:04 AM UTC By: Nikolas <nkarakotas>
I have turned off PPP_DEBUG and LWIP_DEBUG 0.

 

I can see in netif/ppp/lcp.c and netif/ppp/ppp_input that ppp_dbglog is used
instead of LCPDEBUG.

 

It looks like they need to be changed to LCPDEBUG to silence the debug and not
call ppp_logit.

 All functions will add to stack 1k bytes and are called even if PPP_DEBUG and
LWIP_DEBUG are disabled.

void ppp_dbglog(const char *fmt, ...);    /* log a debug message */

void ppp_info(const char *fmt, ...);      /* log an informational message */

void ppp_notice(const char *fmt, ...);    /* log a notice-level message */

void ppp_warn(const char *fmt, ...);      /* log a warning message */

void ppp_error(const char *fmt, ...);     /* log an error message */

void ppp_fatal(const char *fmt, ...);     /* log an error message and die(1)
*/







    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?16229>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]