[lldp-devel] [PATCH] lldpad: Fix logging to no longer use message IDs

John Fastabend john.r.fastabend at intel.com
Tue Aug 16 01:29:28 UTC 2011

On 8/11/2011 2:08 PM, Mark Rustad wrote:
> lldpad's logging was overloading the first parameter to the log_message
> function as both a logging level and a message ID. There are really not
> many message IDs in use, so resolve the conflict by using only log level.
> This also adds a proper printf-attribute to the logging function so
> that arguments can be checked and resolve those as well. A few messages
> that were changed now have more useful content.
> Signed-off-by: Mark Rustad <mark.d.rustad at intel.com>
> Tested-by: Ross Brattain <ross.b.brattain at intel.com>
> ---

Applied thanks.

More information about the lldp-devel mailing list