lwIP - A Lightweight TCP/IP stack - Tasks: task #16229, PPP_DEBUG disabled will produce...
You are not allowed to post comments on this tracker with your current authentication level.
task #16229: PPP_DEBUG disabled will produce debug on lcp and netif
Submitter: | Nikolas <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 |
Assigned to: | None | Percent Complete: | 0% |
Open/Closed: | Open | Planned Release: | None |
Effort: | 0.00 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-caa5.
Corresponding source code
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) */