On Wed, 17 Jun 2020, Andrew Cagney wrote:

I'm planning on flushing out all these redundant macros:

-#define DBG_RAW        DBG_BASE
-#define DBG_PARSING    DBG_BASE
-#define DBG_EMITTING    DBG_BASE
-#define DBG_CONTROL    DBG_BASE
-#define DBG_LIFECYCLE    DBG_BASE
-#define DBG_KERNEL    DBG_BASE
-#define DBG_DNS        DBG_BASE
-#define DBG_OPPO    DBG_BASE
-#define DBG_CONTROLMORE    DBG_BASE
-#define DBG_NATT    DBG_BASE
-#define DBG_X509    DBG_BASE
-#define DBG_DPD        DBG_BASE
-#define DBG_XAUTH    DBG_BASE
-#define DBG_RETRANSMITS    DBG_BASE
-#define DBG_OPPOINFO    DBG_BASE
-#define DBG_PROPOSAL_PARSER    DBG_TMI

and where possible, reducing:
     DBG(DBG_<above>, DBG_log(...))
to just
     dbg(...)

Sounds good!

As long as the old keywords still work and lead to something sane,
so configs with plutodebug=control won't fail to load.

Paul
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to