[PATCH] Make debug channel definitions global and unique

Nick Hilliard nick at inex.ie
Mon Sep 14 23:07:20 UTC 2009


On 05/07/2009 17:30, Faidon Liambotis wrote:
> Currently there were several debug channels colissions (DBG_AND, DBG_CISCO,
> DBG_JUNOS) and abuses (DBG_NOT for AFI).
>
> Also, one had to search the whole tree to find the next free debug
> channel number.
>
> Fix this by making the allocations in a global header file and
> allocating new ones for those that abused other channels.
>
> That should also serve for easily finding a particular number to enter
> as a command-line argument.

committed, thanks!

Nick



More information about the irrtoolset mailing list