[Click] Bug with click_chatter and %{element}

Cliff Frey cliff at meraki.com
Wed Feb 22 11:54:06 EST 2012


The format changed, it is now
click_chatter("%p{element}", this);

if you run this from your click directory, it should fix up all of your
code:
  sed -i -r 's/%\{(element|ip_ptr|ether_ptr|timeval|timestamp)\}/%p{\1}/g'
`git grep -l -E '%\{(element|ip_ptr|ether_ptr|timeval|timestamp)\}'`

Cliff

On Wed, Feb 22, 2012 at 8:16 AM, Ruben Merz
<ruben at net.t-labs.tu-berlin.de>wrote:

> Hi,
>
> I am using the following for debugging in some elements
>
> click_chatter("%{element} blablabla", this);
>
> This appears to crash with the latest HEAD from Click. I typically get
> this error
>
> ../lib/error.cc: 726: static String ErrorHandler::vxformat(int, const
> char*, char*): Assertion `0' failed.
> Aborted
>
> If anyone has any suggestion, thanks a lot in advance.
> Ruben
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list