[Swan-dev] DBG_* cleanout
Paul Wouters
paul at nohats.ca
Wed Jun 17 18:08:49 UTC 2020
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
More information about the Swan-dev
mailing list