[Top][All Lists]

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

[lwip-users] PPP silence ppp_dbglog

From: Nikolas Karakotas
Subject: [lwip-users] PPP silence ppp_dbglog
Date: Mon, 4 Jul 2022 03:16:06 +0000



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.


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 via email to

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