Re: Bug with click_chatter and %{element}

Cliff Frey <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAFtVOq=sZ0zcs+iASjt0H+1C0J5M0cJRKOOyhKPusajGqcj1CQ@mail.gmail.com>
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
<[email protected]>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
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.